Skip to content

Commit edc8d07

Browse files
committed
fix docstring of example
1 parent c9b0c5d commit edc8d07

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

RATapi/examples/non_polarised/DSPC_custom_XY.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@ def DSPC_custom_XY():
1919
We can define our lipid in terms of an Area per Molecule, almost in its entirety, if we recognise that where the
2020
volume is known, the thickness of the layer is simply given by the layer volume / APM:
2121
22-
$d_{\textrm{layer}} =\frac{V_{\textrm{layer}} }{{\textrm{APM}}_{\textrm{layer}}}$.
22+
.. math:: d_{\textrm{layer}} =\frac{V_{\textrm{layer}} }{{\textrm{APM}}_{\textrm{layer}}}.
2323
2424
We can then define the Volume Fraction of this layer with a roughened Heaviside of length dlayer and a height of 1.
2525
Then, the total volume occupied will be given by the sum of the volume fractions across the interface. Of course,
2626
this does not permit any hydration, so to deal with this, we can simply scale the (full occupation) Heaviside
2727
functions by relevant coverage parameters. When this is correctly done, we can obtain the remaining water
2828
distribution as:
2929
30-
$${\textrm{VF}}_{\textrm{wat}} =1-\\sum_n {\textrm{VF}}_n$$
30+
.. math:: {\textrm{VF}}_{\textrm{wat}} =1-\\sum_n {\textrm{VF}}_n
3131
3232
where VFn is the Volume Fraction of the n'th layer.
3333
"""

0 commit comments

Comments
 (0)