|
| | CylindricalFunctorsLvl2 () |
| | the access functions are undefined as long as the class remains empty
|
| |
| | CylindricalFunctorsLvl2 (CylindricalFunctor f, CylindricalFunctor fx, CylindricalFunctor fy, CylindricalFunctor fxx, CylindricalFunctor fxy, CylindricalFunctor fyy) |
| | Construct with given functors.
|
| |
| void | reset (CylindricalFunctor f, CylindricalFunctor fx, CylindricalFunctor fy, CylindricalFunctor fxx, CylindricalFunctor fxy, CylindricalFunctor fyy) |
| | Replace with given Functors.
|
| |
| | operator CylindricalFunctorsLvl1 () const |
| | type conversion: Lvl2 can also be used as Lvl1
|
| |
| const CylindricalFunctor & | f () const |
| | \( f \)
|
| |
| const CylindricalFunctor & | dfx () const |
| | \( \partial f / \partial x \)
|
| |
| const CylindricalFunctor & | dfy () const |
| | \( \partial f / \partial y\)
|
| |
| const CylindricalFunctor & | dfxx () const |
| | \( \partial^2f/\partial x^2\)
|
| |
| const CylindricalFunctor & | dfxy () const |
| | \( \partial^2 f / \partial x \partial y\)
|
| |
| const CylindricalFunctor & | dfyy () const |
| | \( \partial^2f/\partial y^2\)
|
| |
This struct bundles a function and its first and second derivatives.
unsigned nGrid = js["grid"]["generator"]["initial"]["n"].asUInt();
unsigned NxGrid = js["grid"]["generator"]["initial"]["Nx"].asUInt();
unsigned NyGrid = js["grid"]["generator"]["initial"]["Ny"].asUInt();
double epsHector = js["grid"]["generator"]["eps"].asDouble();
if( mode == 0)
{
std::cout << " ... of type conformal ...\n";
mag.
R0(), 0., nGrid, NxGrid, NyGrid, epsHector,
true);
}
else if( mode == 1)
{
std::cout << " ... of type adaption ...\n";
psi_1, mag.
R0(), 0., nGrid, NxGrid, NyGrid,
epsHector, true);
}
else
{
std::cout << " ... of type monitor metric ...\n";
psi_1, mag.
R0(), 0., nGrid, NxGrid, NyGrid,
epsHector, true);
}