IPPL (Independent Parallel Particle Layer)
IPPL
Loading...
Searching...
No Matches
FieldContainer< T, Dim > Class Template Reference

#include <FieldContainer.hpp>

Inheritance diagram for FieldContainer< T, Dim >:
Collaboration diagram for FieldContainer< T, Dim >:

Public Member Functions

 FieldContainer (Vector_t< T, Dim > &hr, Vector_t< T, Dim > &rmin, Vector_t< T, Dim > &rmax, std::array< bool, Dim > decomp, ippl::NDIndex< Dim > domain, Vector_t< T, Dim > origin, bool isAllPeriodic)
 ~FieldContainer ()
VField_t< T, Dim > & getE ()
void setE (VField_t< T, Dim > &E)
Field_t< Dim > & getRho ()
void setRho (Field_t< Dim > &rho)
Field< T, Dim > & getPhi ()
void setPhi (Field< T, Dim > &phi)
Vector_t< double, Dim > & getHr ()
void setHr (const Vector_t< double, Dim > &hr)
Vector_t< double, Dim > & getRMin ()
void setRMin (const Vector_t< double, Dim > &rmin)
Vector_t< double, Dim > & getRMax ()
void setRMax (const Vector_t< double, Dim > &rmax)
std::array< bool, DimgetDecomp ()
void setDecomp (std::array< bool, Dim > decomp)
Mesh_t< Dim > & getMesh ()
void setMesh (Mesh_t< Dim > &mesh)
FieldLayout_t< Dim > & getFL ()
void setFL (std::shared_ptr< FieldLayout_t< Dim > > &fl)
void initializeFields (std::string stype_m="")

Private Attributes

Vector_t< double, Dimhr_m
Vector_t< double, Dimrmin_m
Vector_t< double, Dimrmax_m
std::array< bool, Dimdecomp_m
VField_t< T, DimE_m
Field_t< Dimrho_m
Field< T, Dimphi_m
Mesh_t< Dimmesh_m
FieldLayout_t< Dimfl_m

Detailed Description

template<typename T, unsigned Dim = 3>
class FieldContainer< T, Dim >

Definition at line 10 of file FieldContainer.hpp.

Constructor & Destructor Documentation

◆ FieldContainer()

template<typename T, unsigned Dim = 3>
FieldContainer< T, Dim >::FieldContainer ( Vector_t< T, Dim > & hr,
Vector_t< T, Dim > & rmin,
Vector_t< T, Dim > & rmax,
std::array< bool, Dim > decomp,
ippl::NDIndex< Dim > domain,
Vector_t< T, Dim > origin,
bool isAllPeriodic )
inline

Definition at line 12 of file FieldContainer.hpp.

◆ ~FieldContainer()

template<typename T, unsigned Dim = 3>
FieldContainer< T, Dim >::~FieldContainer ( )
inline

Definition at line 22 of file FieldContainer.hpp.

Member Function Documentation

◆ getDecomp()

template<typename T, unsigned Dim = 3>
std::array< bool, Dim > FieldContainer< T, Dim >::getDecomp ( )
inline

Definition at line 54 of file FieldContainer.hpp.

◆ getE()

template<typename T, unsigned Dim = 3>
VField_t< T, Dim > & FieldContainer< T, Dim >::getE ( )
inline

Definition at line 36 of file FieldContainer.hpp.

◆ getFL()

template<typename T, unsigned Dim = 3>
FieldLayout_t< Dim > & FieldContainer< T, Dim >::getFL ( )
inline

Definition at line 60 of file FieldContainer.hpp.

◆ getHr()

template<typename T, unsigned Dim = 3>
Vector_t< double, Dim > & FieldContainer< T, Dim >::getHr ( )
inline

Definition at line 45 of file FieldContainer.hpp.

◆ getMesh()

template<typename T, unsigned Dim = 3>
Mesh_t< Dim > & FieldContainer< T, Dim >::getMesh ( )
inline

Definition at line 57 of file FieldContainer.hpp.

◆ getPhi()

template<typename T, unsigned Dim = 3>
Field< T, Dim > & FieldContainer< T, Dim >::getPhi ( )
inline

Definition at line 42 of file FieldContainer.hpp.

◆ getRho()

template<typename T, unsigned Dim = 3>
Field_t< Dim > & FieldContainer< T, Dim >::getRho ( )
inline

Definition at line 39 of file FieldContainer.hpp.

◆ getRMax()

template<typename T, unsigned Dim = 3>
Vector_t< double, Dim > & FieldContainer< T, Dim >::getRMax ( )
inline

Definition at line 51 of file FieldContainer.hpp.

◆ getRMin()

template<typename T, unsigned Dim = 3>
Vector_t< double, Dim > & FieldContainer< T, Dim >::getRMin ( )
inline

Definition at line 48 of file FieldContainer.hpp.

◆ initializeFields()

template<typename T, unsigned Dim = 3>
void FieldContainer< T, Dim >::initializeFields ( std::string stype_m = "")
inline

Definition at line 63 of file FieldContainer.hpp.

◆ setDecomp()

template<typename T, unsigned Dim = 3>
void FieldContainer< T, Dim >::setDecomp ( std::array< bool, Dim > decomp)
inline

Definition at line 55 of file FieldContainer.hpp.

◆ setE()

template<typename T, unsigned Dim = 3>
void FieldContainer< T, Dim >::setE ( VField_t< T, Dim > & E)
inline

Definition at line 37 of file FieldContainer.hpp.

◆ setFL()

template<typename T, unsigned Dim = 3>
void FieldContainer< T, Dim >::setFL ( std::shared_ptr< FieldLayout_t< Dim > > & fl)
inline

Definition at line 61 of file FieldContainer.hpp.

◆ setHr()

template<typename T, unsigned Dim = 3>
void FieldContainer< T, Dim >::setHr ( const Vector_t< double, Dim > & hr)
inline

Definition at line 46 of file FieldContainer.hpp.

◆ setMesh()

template<typename T, unsigned Dim = 3>
void FieldContainer< T, Dim >::setMesh ( Mesh_t< Dim > & mesh)
inline

Definition at line 58 of file FieldContainer.hpp.

◆ setPhi()

template<typename T, unsigned Dim = 3>
void FieldContainer< T, Dim >::setPhi ( Field< T, Dim > & phi)
inline

Definition at line 43 of file FieldContainer.hpp.

◆ setRho()

template<typename T, unsigned Dim = 3>
void FieldContainer< T, Dim >::setRho ( Field_t< Dim > & rho)
inline

Definition at line 40 of file FieldContainer.hpp.

◆ setRMax()

template<typename T, unsigned Dim = 3>
void FieldContainer< T, Dim >::setRMax ( const Vector_t< double, Dim > & rmax)
inline

Definition at line 52 of file FieldContainer.hpp.

◆ setRMin()

template<typename T, unsigned Dim = 3>
void FieldContainer< T, Dim >::setRMin ( const Vector_t< double, Dim > & rmin)
inline

Definition at line 49 of file FieldContainer.hpp.

Member Data Documentation

◆ decomp_m

template<typename T, unsigned Dim = 3>
std::array<bool, Dim> FieldContainer< T, Dim >::decomp_m
private

Definition at line 28 of file FieldContainer.hpp.

◆ E_m

template<typename T, unsigned Dim = 3>
VField_t<T, Dim> FieldContainer< T, Dim >::E_m
private

Definition at line 29 of file FieldContainer.hpp.

◆ fl_m

template<typename T, unsigned Dim = 3>
FieldLayout_t<Dim> FieldContainer< T, Dim >::fl_m
private

Definition at line 33 of file FieldContainer.hpp.

◆ hr_m

template<typename T, unsigned Dim = 3>
Vector_t<double, Dim> FieldContainer< T, Dim >::hr_m
private

Definition at line 25 of file FieldContainer.hpp.

◆ mesh_m

template<typename T, unsigned Dim = 3>
Mesh_t<Dim> FieldContainer< T, Dim >::mesh_m
private

Definition at line 32 of file FieldContainer.hpp.

◆ phi_m

template<typename T, unsigned Dim = 3>
Field<T, Dim> FieldContainer< T, Dim >::phi_m
private

Definition at line 31 of file FieldContainer.hpp.

◆ rho_m

template<typename T, unsigned Dim = 3>
Field_t<Dim> FieldContainer< T, Dim >::rho_m
private

Definition at line 30 of file FieldContainer.hpp.

◆ rmax_m

template<typename T, unsigned Dim = 3>
Vector_t<double, Dim> FieldContainer< T, Dim >::rmax_m
private

Definition at line 27 of file FieldContainer.hpp.

◆ rmin_m

template<typename T, unsigned Dim = 3>
Vector_t<double, Dim> FieldContainer< T, Dim >::rmin_m
private

Definition at line 26 of file FieldContainer.hpp.


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