Extension: Geometries
#include "dg/geometries/geometries.h"

This struct bundles a vector field and its divergence. More...

Public Member Functions

 CylindricalVectorLvl1 ()
 the access functions are undefined as long as the class remains empty More...
 
 CylindricalVectorLvl1 (CylindricalFunctor v_x, CylindricalFunctor v_y, CylindricalFunctor v_z, CylindricalFunctor div, CylindricalFunctor divvvz)
 Copy given Functors. More...
 
void reset (CylindricalFunctor v_x, CylindricalFunctor v_y, CylindricalFunctor v_z, CylindricalFunctor div, CylindricalFunctor divvvz)
 replace with given functors More...
 
 operator CylindricalVectorLvl0 () const
 type conversion: Lvl2 can also be used as Lvl1 More...
 
const CylindricalFunctorx () const
 x-component of the vector More...
 
const CylindricalFunctory () const
 y-component of the vector More...
 
const CylindricalFunctorz () const
 z-component of the vector More...
 
const CylindricalFunctordiv () const
 \(\nabla\cdot v\) More...
 
const CylindricalFunctordivvvz () const
 \(\nabla\cdot (v/z)\) More...
 

Detailed Description

This struct bundles a vector field and its divergence.

Constructor & Destructor Documentation

◆ CylindricalVectorLvl1() [1/2]

dg::geo::CylindricalVectorLvl1::CylindricalVectorLvl1 ( )
inline

the access functions are undefined as long as the class remains empty

◆ CylindricalVectorLvl1() [2/2]

dg::geo::CylindricalVectorLvl1::CylindricalVectorLvl1 ( CylindricalFunctor  v_x,
CylindricalFunctor  v_y,
CylindricalFunctor  v_z,
CylindricalFunctor  div,
CylindricalFunctor  divvvz 
)
inline

Copy given Functors.

Member Function Documentation

◆ div()

const CylindricalFunctor & dg::geo::CylindricalVectorLvl1::div ( ) const
inline

\(\nabla\cdot v\)

◆ divvvz()

const CylindricalFunctor & dg::geo::CylindricalVectorLvl1::divvvz ( ) const
inline

\(\nabla\cdot (v/z)\)

◆ operator CylindricalVectorLvl0()

dg::geo::CylindricalVectorLvl1::operator CylindricalVectorLvl0 ( ) const
inline

type conversion: Lvl2 can also be used as Lvl1

◆ reset()

void dg::geo::CylindricalVectorLvl1::reset ( CylindricalFunctor  v_x,
CylindricalFunctor  v_y,
CylindricalFunctor  v_z,
CylindricalFunctor  div,
CylindricalFunctor  divvvz 
)
inline

replace with given functors

◆ x()

const CylindricalFunctor & dg::geo::CylindricalVectorLvl1::x ( ) const
inline

x-component of the vector

◆ y()

const CylindricalFunctor & dg::geo::CylindricalVectorLvl1::y ( ) const
inline

y-component of the vector

◆ z()

const CylindricalFunctor & dg::geo::CylindricalVectorLvl1::z ( ) const
inline

z-component of the vector


The documentation for this struct was generated from the following file: