![]() |
Sapphire++
v1.3.0-121-g2682132 |
Initial condition. More...
#include <config.h>
Public Member Functions | |
| InitialValueFunction (const PhysicalParameters &physical_parameters, const unsigned int system_size) | |
| Constructor. | |
| void | vector_value (const dealii::Point< dim > &point, dealii::Vector< double > &f) const override |
| Evaluate the initial condition at point p. | |
Initial condition.
[VFP Flags]
| dim | Dimension of the reduced phase space \( (\mathbf{x}, p) \) |
|
inline |
Constructor.
| physical_parameters | User defined runtime parameters |
| system_size | Number of expansion coefficients, normally \( (l_{\rm max} + 1)^2 \) |
|
inlineoverride |
Evaluate the initial condition at point p.
Return a vector of values corresponding to the initial condition of the coefficients \( f_{i(l,m,s)}(t=0, \mathbf{x}, p) \) of the expansion of the distribution function in spherical harmonics.
The zeroth component of values corresponds to \( f_{000} \), the first component to \( f_{110} \) etc. The mapping between the system index \( i \) and the spherical harmonic indices \( (l,m,s) \) is given by lms_indices:
The point in reduced phase space is given by p. The first dim_cs components correspond to the spatial coordinates \( \mathbf{x} \) and if momentum term is activated the last component to the momentum coordinate \( p \):
| point | Point in reduced phase space |
| f | Return vector \( f_{i(l,m,s)}(t=0, \mathbf{x}, p) \) |
[Initial value]
[Initial value]