OPAL (Object Oriented Parallel Accelerator Library)
2021.1.99
OPAL
|
#include <Field.h>
Public Member Functions | |
Field () | |
virtual | ~Field () |
Field (Layout_t &) | |
Field (Layout_t &, const GuardCellSizes< Dim > &) | |
Field (Layout_t &, const BConds< T, Dim, M, C > &) | |
Field (Layout_t &, const GuardCellSizes< Dim > &, const BConds< T, Dim, M, C > &) | |
Field (Layout_t &, const BConds< T, Dim, M, C > &, const GuardCellSizes< Dim > &) | |
Field (FieldSpec< T, Dim, M, C > &) | |
constexpr | Field (Field< T, Dim, M, C > &)=default |
Field (Mesh_t &, Layout_t &) | |
Field (Mesh_t &, Layout_t &, const GuardCellSizes< Dim > &) | |
Field (Mesh_t &, Layout_t &, const BConds< T, Dim, M, C > &) | |
Field (Mesh_t &, Layout_t &, const GuardCellSizes< Dim > &, const BConds< T, Dim, M, C > &) | |
Field (Mesh_t &, Layout_t &, const BConds< T, Dim, M, C > &, const GuardCellSizes< Dim > &) | |
Field (Mesh_t &, FieldSpec< T, Dim, M, C > &) | |
void | initialize (Layout_t &) |
void | initialize (Layout_t &, const GuardCellSizes< Dim > &) |
void | initialize (Layout_t &, const BConds< T, Dim, M, C > &) |
void | initialize (Layout_t &, const GuardCellSizes< Dim > &, const BConds< T, Dim, M, C > &) |
void | initialize (Layout_t &, const BConds< T, Dim, M, C > &, const GuardCellSizes< Dim > &) |
void | initialize (FieldSpec< T, Dim, M, C > &) |
void | initialize (Mesh_t &, Layout_t &) |
void | initialize (Mesh_t &, Layout_t &, const bool) |
void | initialize (Mesh_t &, Layout_t &, const GuardCellSizes< Dim > &) |
void | initialize (Mesh_t &, Layout_t &, const BConds< T, Dim, M, C > &) |
void | initialize (Mesh_t &, Layout_t &, const GuardCellSizes< Dim > &, const BConds< T, Dim, M, C > &) |
void | initialize (Mesh_t &, Layout_t &, const BConds< T, Dim, M, C > &, const GuardCellSizes< Dim > &) |
void | initialize (Mesh_t &, FieldSpec< T, Dim, M, C > &) |
const bcond_value & | getBCond (int bc) const |
bcond_value & | getBCond (int bc) |
const bcond_container & | getBConds () const |
bcond_container & | getBConds () |
bcond_iterator | begin_BConds () |
bcond_iterator | end_BConds () |
Mesh_t & | get_mesh () const |
IndexedField< T, Dim, 1, M, C > | operator[] (const Index &) |
IndexedField< T, Dim, 1, M, C > | operator[] (int) |
IndexedField< T, Dim, Dim, M, C > | operator[] (const NDIndex< Dim > &) |
SubField< T, Dim, M, C, SIndex< Dim > > | operator[] (const SIndex< Dim > &) |
const Field< T, Dim, M, C > & | operator= (T x) |
const Field< T, Dim, M, C > & | operator= (const Field< T, Dim, M, C > &x) |
template<class X > | |
const Field< T, Dim, M, C > & | operator= (const BareField< X, Dim > &x) |
template<class B > | |
const Field< T, Dim, M, C > & | operator= (const PETE_Expr< B > &x) |
void | fillGuardCells (bool reallyFill=true) const |
void | print_Centerings (std::ostream &) |
virtual void | Repartition (UserList *) |
virtual void | notifyUserOfDelete (UserList *) |
Public Member Functions inherited from BareField< T, Dim > | |
BareField () | |
BareField (const BareField< T, Dim > &) | |
BareField (Layout_t &) | |
BareField (Layout_t &, const GuardCellSizes< Dim > &) | |
~BareField () | |
void | initialize (Layout_t &) |
void | initialize (Layout_t &, const bool) |
void | initialize (Layout_t &, const GuardCellSizes< Dim > &) |
iterator_if | begin_if () |
iterator_if | end_if () |
const_iterator_if | begin_if () const |
const_iterator_if | end_if () const |
ac_id_larray::size_type | size_if () const |
void | setGuardCells (const T &) const |
void | accumGuardCells () |
bool | isDirty () const |
void | setDirtyFlag () |
void | clearDirtyFlag () |
void | fillGuardCellsIfNotDirty () const |
Layout_t & | getLayout () const |
IndexedBareField< T, Dim, 1 > | operator[] (const Index &idx) |
IndexedBareField< T, Dim, 1 > | operator[] (int i) |
IndexedBareField< T, Dim, Dim > | operator[] (const NDIndex< Dim > &nidx) |
SubBareField< T, Dim, SIndex< Dim > > | operator[] (const SIndex< Dim > &) |
const GuardCellSizes< Dim > & | getGC () const |
const GuardCellSizes< Dim > & | getGuardCellSizes () const |
unsigned | leftGuard (unsigned d) const |
unsigned | rightGuard (unsigned d) const |
const Index & | getIndex (unsigned d) const |
const NDIndex< Dim > & | getDomain () const |
const BareField< T, Dim > & | operator= (T x) |
const BareField< T, Dim > & | operator= (const BareField< T, Dim > &x) |
template<class X > | |
const BareField< T, Dim > & | operator= (const BareField< X, Dim > &x) |
template<class B > | |
const BareField< T, Dim > & | operator= (const PETE_Expr< B > &x) |
bool | compressible () const |
double | CompressedFraction () const |
void | Compress () const |
void | Uncompress () const |
void | setCompression (bool compress) |
iterator | begin () const |
iterator | end () const |
iterator | beginLoc (const FieldLoc< Dim > &loc) const |
void | prepareForScalarCode (bool tryfill=true) |
void | finishScalarCode (bool modified=true) |
T & | localElement (const NDIndex< Dim > &) const |
void | getsingle (const NDIndex< Dim > &, T &) const |
void | write (std::ostream &) |
iterator | MakeExpression () const |
Public Member Functions inherited from FieldLayoutUser | |
FieldLayoutUser () | |
virtual | ~FieldLayoutUser () |
Public Member Functions inherited from User | |
User () | |
virtual | ~User () |
ID_t | get_Id () const |
Public Member Functions inherited from PETE_Expr< BareField< T, Dim > > | |
BareField< T, Dim > & | PETE_unwrap () |
const BareField< T, Dim > & | PETE_unwrap () const |
Public Member Functions inherited from DataSource | |
DataSource () | |
virtual | ~DataSource () |
bool | connected (DataConnect *=0) const |
DataSourceObject * | findDataSourceObject (DataConnect *) const |
DataConnect * | connect (const char *, DataConnect *=0, int=DataSource::DEFAULT) |
bool | connect (DataSourceObject *) |
bool | disconnect (DataConnect *=0) |
bool | updateConnection (DataConnect *=0) |
void | interact (DataConnect *=0) |
void | interact (const char *, DataConnect *=0) |
Protected Member Functions | |
virtual DataSourceObject * | createDataSourceObject (const char *, DataConnect *, int) |
Private Member Functions | |
void | store_mesh (Mesh_t *, bool) |
void | delete_mesh () |
Private Attributes | |
bcond_container | Bc |
Mesh_t * | mesh |
bool | WeOwnMesh |
Friends | |
class | BareFieldIterator< T, Dim > |
Additional Inherited Members | |
Protected Attributes inherited from BareField< T, Dim > | |
ac_id_larray | Locals_ac |
Protected Attributes inherited from User | |
ID_t | Id |
typedef BConds<T,Dim,M,C> Field< T, Dim, M, C >::bcond_container |
typedef bcond_container::iterator Field< T, Dim, M, C >::bcond_iterator |
typedef BCondBase<T,Dim,M,C> Field< T, Dim, M, C >::bcond_value |
typedef C Field< T, Dim, M, C >::Centering_t |
typedef FieldLayout<Dim> Field< T, Dim, M, C >::Layout_t |
Field< T, Dim, M, C >::Field | ( | ) |
|
virtual |
Field< T, Dim, M, C >::Field | ( | Layout_t & | ) |
Field< T, Dim, M, C >::Field | ( | Layout_t & | , |
const GuardCellSizes< Dim > & | |||
) |
Field< T, Dim, M, C >::Field | ( | Layout_t & | , |
const BConds< T, Dim, M, C > & | |||
) |
Field< T, Dim, M, C >::Field | ( | Layout_t & | , |
const GuardCellSizes< Dim > & | , | ||
const BConds< T, Dim, M, C > & | |||
) |
Field< T, Dim, M, C >::Field | ( | Layout_t & | , |
const BConds< T, Dim, M, C > & | , | ||
const GuardCellSizes< Dim > & | |||
) |
Field< T, Dim, M, C >::Field | ( | FieldSpec< T, Dim, M, C > & | ) |
|
constexprdefault |
Field< T, Dim, M, C >::Field | ( | Mesh_t & | , |
Layout_t & | |||
) |
Field< T, Dim, M, C >::Field | ( | Mesh_t & | , |
Layout_t & | , | ||
const GuardCellSizes< Dim > & | |||
) |
Field< T, Dim, M, C >::Field | ( | Mesh_t & | , |
Layout_t & | , | ||
const BConds< T, Dim, M, C > & | |||
) |
Field< T, Dim, M, C >::Field | ( | Mesh_t & | , |
Layout_t & | , | ||
const GuardCellSizes< Dim > & | , | ||
const BConds< T, Dim, M, C > & | |||
) |
Field< T, Dim, M, C >::Field | ( | Mesh_t & | , |
Layout_t & | , | ||
const BConds< T, Dim, M, C > & | , | ||
const GuardCellSizes< Dim > & | |||
) |
Field< T, Dim, M, C >::Field | ( | Mesh_t & | , |
FieldSpec< T, Dim, M, C > & | |||
) |
|
inline |
Definition at line 106 of file Field.h.
References Field< T, Dim, M, C >::Bc, and vmap< Key, T, Compare >::begin().
|
protectedvirtual |
Implements DataSource.
|
private |
|
inline |
Definition at line 107 of file Field.h.
References Field< T, Dim, M, C >::Bc, and vmap< Key, T, Compare >::end().
|
virtual |
Reimplemented from BareField< T, Dim >.
Referenced by ParticleAttrib< T >::gather().
|
inline |
Definition at line 110 of file Field.h.
References Field< T, Dim, M, C >::mesh.
Referenced by PartBunch::computeSelfFields(), ParticleAttrib< T >::gather(), scatter(), and ParticleAttrib< T >::scatter().
|
inline |
Definition at line 103 of file Field.h.
References Field< T, Dim, M, C >::Bc.
|
inline |
Definition at line 102 of file Field.h.
References Field< T, Dim, M, C >::Bc.
|
inline |
Definition at line 105 of file Field.h.
References Field< T, Dim, M, C >::Bc.
|
inline |
Definition at line 104 of file Field.h.
References Field< T, Dim, M, C >::Bc.
void Field< T, Dim, M, C >::initialize | ( | FieldSpec< T, Dim, M, C > & | ) |
void Field< T, Dim, M, C >::initialize | ( | Layout_t & | ) |
Referenced by P3MPoissonSolver::calculateGridForces(), FFTBoxPoissonSolver::FFTBoxPoissonSolver(), P3MPoissonSolver::initFields(), FFTPoissonSolver::initializeFields(), P3MPoissonSolver::P3MPoissonSolver(), PartBunch::resizeMesh(), PartBunch::runTests(), FFTBoxPoissonSolver::shiftedIntGreensFunction(), and PartBunch::updateFields().
void Field< T, Dim, M, C >::initialize | ( | Layout_t & | , |
const BConds< T, Dim, M, C > & | |||
) |
void Field< T, Dim, M, C >::initialize | ( | Layout_t & | , |
const BConds< T, Dim, M, C > & | , | ||
const GuardCellSizes< Dim > & | |||
) |
void Field< T, Dim, M, C >::initialize | ( | Layout_t & | , |
const GuardCellSizes< Dim > & | |||
) |
void Field< T, Dim, M, C >::initialize | ( | Layout_t & | , |
const GuardCellSizes< Dim > & | , | ||
const BConds< T, Dim, M, C > & | |||
) |
void Field< T, Dim, M, C >::initialize | ( | Mesh_t & | , |
FieldSpec< T, Dim, M, C > & | |||
) |
void Field< T, Dim, M, C >::initialize | ( | Mesh_t & | , |
Layout_t & | |||
) |
void Field< T, Dim, M, C >::initialize | ( | Mesh_t & | , |
Layout_t & | , | ||
const BConds< T, Dim, M, C > & | |||
) |
void Field< T, Dim, M, C >::initialize | ( | Mesh_t & | , |
Layout_t & | , | ||
const BConds< T, Dim, M, C > & | , | ||
const GuardCellSizes< Dim > & | |||
) |
void Field< T, Dim, M, C >::initialize | ( | Mesh_t & | , |
Layout_t & | , | ||
const bool | |||
) |
void Field< T, Dim, M, C >::initialize | ( | Mesh_t & | , |
Layout_t & | , | ||
const GuardCellSizes< Dim > & | |||
) |
void Field< T, Dim, M, C >::initialize | ( | Mesh_t & | , |
Layout_t & | , | ||
const GuardCellSizes< Dim > & | , | ||
const BConds< T, Dim, M, C > & | |||
) |
|
virtual |
Reimplemented from BareField< T, Dim >.
IndexedField<T,Dim,1,M,C> Field< T, Dim, M, C >::operator[] | ( | const Index & | ) |
IndexedField<T,Dim,Dim,M,C> Field< T, Dim, M, C >::operator[] | ( | const NDIndex< Dim > & | ) |
SubField<T,Dim,M,C,SIndex<Dim> > Field< T, Dim, M, C >::operator[] | ( | const SIndex< Dim > & | ) |
IndexedField<T,Dim,1,M,C> Field< T, Dim, M, C >::operator[] | ( | int | ) |
void Field< T, Dim, M, C >::print_Centerings | ( | std::ostream & | ) |
|
virtual |
Reimplemented from BareField< T, Dim >.
|
private |
|
friend |
|
private |
Definition at line 171 of file Field.h.
Referenced by Field< T, Dim, M, C >::begin_BConds(), Field< T, Dim, M, C >::end_BConds(), Field< T, Dim, M, C >::getBCond(), and Field< T, Dim, M, C >::getBConds().
|
private |
Definition at line 174 of file Field.h.
Referenced by Field< T, Dim, M, C >::get_mesh().