This class sets the Cosine Model to calculate the free energy profile and the diffusion profile. The profiles have the typical cosine oscillation. These profiles over the bins are expressed by the following Fourier series. The diffusion profile is calculated between bin i and i+1 over the bin border with
Similarly, the free energy Fourier series can be written:
with the number of bins \(n\), the index of a bin \(i\), the coefficients \(a_{k}\) of the Fourier series and \(k\) as the number of coefficents. The free energy is calculated in the bin center.
For the free energy the coefficient it is assumed that \(a_{0} = 0\).
Data link to the pickle data from poreana.sample.Sample.init_diffusion_mc()
Number of the Fourier coefficients for the diffusion profile
Number of the Fourier coefficients for the free energy profile
Number of the Fourier coefficients for the radial diffusion profile
Initial guess of diffusion coefficient \(\left( 10^{-9} \frac{m^2}{s}\right)\)
True to print output
Methods
|
alias of |
|
Implement delattr(self, name). |
|
|
|
Default dir() implementation. |
|
|
|
Return self==value. |
|
Default object formatter. |
|
Return self>=value. |
|
Return getattr(self, name). |
|
Return self>value. |
|
Return hash(self). |
|
|
|
This method is called when a class is subclassed. |
|
Return self<=value. |
|
Return self<value. |
|
|
|
Return self!=value. |
|
|
|
Helper for pickle. |
|
Helper for pickle. |
|
Return repr(self). |
|
Implement setattr(self, name, value). |
|
Size of object in memory, in bytes. |
|
Return str(self). |
|
Abstract classes can override this to customize issubclass(). |
|
list of weak references to the object (if defined) |
|
This function calculates the diffusion and free energy profile over the bins. |
This function sets a Fourier Cosine Series Model for the MC Diffusion Calculation and determines the initialize profiles. |
|
This function creates the basis part in every bin of the Fourier series for the diffusion \(\ln \ (D)\). |
|
This function creates the basis part of the Fourier series for the free energy and the radial diffusion profile. |
|
This function initializes the coefficient list for the Fourier series and the profile list for the free energy and diffusion profile. |
|
This function initializes the normal diffusion, radial diffusion and free energy profile over the bins. |