OPAL (Object Oriented Parallel Accelerator Library) 2024.2
OPAL
Field< T, Dim, M, C > Class Template Reference

#include <Field.h>

Inheritance diagram for Field< T, Dim, M, C >:
Collaboration diagram for Field< T, Dim, M, C >:

Public Types

typedef M Mesh_t
typedef C Centering_t
typedef BareField< T, DimBase_t
typedef FieldLayout< DimLayout_t
typedef BConds< T, Dim, M, C > bcond_container
typedef BCondBase< T, Dim, M, C > bcond_value
typedef bcond_container::iterator bcond_iterator
enum  { Dim_u = Dim }
enum  { IsExpr = 0 }
typedef T T_t
typedef LField< T, DimLField_t
typedef vmap< typename Unique::type, my_auto_ptr< LField< T, Dim > > > ac_id_larray
typedef ac_id_larray::iterator iterator_if
typedef ac_id_larray::const_iterator const_iterator_if
typedef LField< T, Dim >::iterator LFI
typedef BareFieldIterator< T, Dimiterator
typedef iterator PETE_Expr_t
typedef Unique::type ID_t
typedef BareField< T, DimWrapped
enum  DsMode { INPUT , OUTPUT , BOTH , DEFAULT }
typedef std::vector< DataSourceObject * > container_t

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_valuegetBCond (int bc) const
bcond_valuegetBCond (int bc)
const bcond_containergetBConds () const
bcond_containergetBConds ()
bcond_iterator begin_BConds ()
bcond_iterator end_BConds ()
Mesh_tget_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 *)
void initialize (Layout_t &, const bool)
iterator_if begin_if ()
const_iterator_if begin_if () const
iterator_if end_if ()
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_tgetLayout () const
const GuardCellSizes< Dim > & getGC () const
const GuardCellSizes< Dim > & getGuardCellSizes () const
unsigned leftGuard (unsigned d) const
unsigned rightGuard (unsigned d) const
const IndexgetIndex (unsigned d) const
const NDIndex< Dim > & getDomain () const
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
ID_t get_Id () const
BareField< T, Dim > & PETE_unwrap ()
bool connected (DataConnect *=0) const
DataSourceObjectfindDataSourceObject (DataConnect *) const
DataConnectconnect (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 DataSourceObjectcreateDataSourceObject (const char *, DataConnect *, int)

Protected Attributes

ac_id_larray Locals_ac
ID_t Id

Private Member Functions

void store_mesh (Mesh_t *, bool)
void delete_mesh ()
void setup ()
void getsingle_bc (const NDIndex< Dim > &, T &) const

Private Attributes

bcond_container Bc
Mesh_tmesh
bool WeOwnMesh
Layout_tLayout
GuardCellSizes< DimGc
bool dirty_m
bool compressible_m
bool pinned
container_t ConnectionList

Friends

class BareFieldIterator< T, Dim >

Detailed Description

template<class T, unsigned Dim, class M = UniformCartesian<Dim,double>, class C = typename M::DefaultCentering>
class Field< T, Dim, M, C >

Definition at line 33 of file Field.h.

Member Typedef Documentation

◆ ac_id_larray

template<class T, unsigned Dim>
typedef vmap< typename Unique::type, my_auto_ptr< LField<T,Dim> > > BareField< T, Dim >::ac_id_larray
inherited

Definition at line 91 of file BareField.h.

◆ Base_t

template<class T, unsigned Dim, class M = UniformCartesian<Dim,double>, class C = typename M::DefaultCentering>
typedef BareField<T,Dim> Field< T, Dim, M, C >::Base_t

Definition at line 41 of file Field.h.

◆ bcond_container

template<class T, unsigned Dim, class M = UniformCartesian<Dim,double>, class C = typename M::DefaultCentering>
typedef BConds<T,Dim,M,C> Field< T, Dim, M, C >::bcond_container

Definition at line 43 of file Field.h.

◆ bcond_iterator

template<class T, unsigned Dim, class M = UniformCartesian<Dim,double>, class C = typename M::DefaultCentering>
typedef bcond_container::iterator Field< T, Dim, M, C >::bcond_iterator

Definition at line 45 of file Field.h.

◆ bcond_value

template<class T, unsigned Dim, class M = UniformCartesian<Dim,double>, class C = typename M::DefaultCentering>
typedef BCondBase<T,Dim,M,C> Field< T, Dim, M, C >::bcond_value

Definition at line 44 of file Field.h.

◆ Centering_t

template<class T, unsigned Dim, class M = UniformCartesian<Dim,double>, class C = typename M::DefaultCentering>
typedef C Field< T, Dim, M, C >::Centering_t

Definition at line 40 of file Field.h.

◆ const_iterator_if

template<class T, unsigned Dim>
typedef ac_id_larray::const_iterator BareField< T, Dim >::const_iterator_if
inherited

Definition at line 93 of file BareField.h.

◆ container_t

typedef std::vector<DataSourceObject *> DataSource::container_t
inherited

Definition at line 67 of file DataSource.h.

◆ ID_t

typedef Unique::type User::ID_t
inherited

Definition at line 35 of file User.h.

◆ iterator

template<class T, unsigned Dim>
typedef BareFieldIterator<T,Dim> BareField< T, Dim >::iterator
inherited

Definition at line 97 of file BareField.h.

◆ iterator_if

template<class T, unsigned Dim>
typedef ac_id_larray::iterator BareField< T, Dim >::iterator_if
inherited

Definition at line 92 of file BareField.h.

◆ Layout_t

template<class T, unsigned Dim, class M = UniformCartesian<Dim,double>, class C = typename M::DefaultCentering>
typedef FieldLayout<Dim> Field< T, Dim, M, C >::Layout_t

Definition at line 42 of file Field.h.

◆ LFI

template<class T, unsigned Dim>
typedef LField<T,Dim>::iterator BareField< T, Dim >::LFI
inherited

Definition at line 94 of file BareField.h.

◆ LField_t

template<class T, unsigned Dim>
typedef LField<T,Dim> BareField< T, Dim >::LField_t
inherited

Definition at line 62 of file BareField.h.

◆ Mesh_t

template<class T, unsigned Dim, class M = UniformCartesian<Dim,double>, class C = typename M::DefaultCentering>
typedef M Field< T, Dim, M, C >::Mesh_t

Definition at line 39 of file Field.h.

◆ PETE_Expr_t

template<class T, unsigned Dim>
typedef iterator BareField< T, Dim >::PETE_Expr_t
inherited

Definition at line 326 of file BareField.h.

◆ T_t

template<class T, unsigned Dim>
typedef T BareField< T, Dim >::T_t
inherited

Definition at line 60 of file BareField.h.

◆ Wrapped

typedef BareField< T, Dim > PETE_Expr< BareField< T, Dim > >::Wrapped
inherited

Definition at line 79 of file PETE.h.

Member Enumeration Documentation

◆ anonymous enum

template<class T, unsigned Dim>
anonymous enum
inherited
Enumerator
IsExpr 

Definition at line 325 of file BareField.h.

◆ anonymous enum

template<class T, unsigned Dim>
anonymous enum
inherited
Enumerator
Dim_u 

Definition at line 63 of file BareField.h.

◆ DsMode

enum DataSource::DsMode
inherited
Enumerator
INPUT 
OUTPUT 
BOTH 
DEFAULT 

Definition at line 64 of file DataSource.h.

Constructor & Destructor Documentation

◆ Field() [1/14]

template<class T, unsigned Dim, class M, class C>
Field< T, Dim, M, C >::Field ( )

Definition at line 103 of file Field.hpp.

References store_mesh().

Referenced by fillGuardCells(), OscillatingField< Field >::OscillatingField(), and Repartition().

Here is the call graph for this function:

◆ ~Field()

template<class T, unsigned Dim, class M, class C>
Field< T, Dim, M, C >::~Field ( )
virtual

Definition at line 113 of file Field.hpp.

References delete_mesh().

Here is the call graph for this function:

◆ Field() [2/14]

template<class T, unsigned Dim, class M, class C>
Field< T, Dim, M, C >::Field ( Layout_t & l)

Definition at line 126 of file Field.hpp.

References BareField< T, Dim >::BareField(), Dim, makeMesh(), and store_mesh().

Here is the call graph for this function:

◆ Field() [3/14]

template<class T, unsigned Dim, class M, class C>
Field< T, Dim, M, C >::Field ( Layout_t & l,
const GuardCellSizes< Dim > & gc )

Definition at line 133 of file Field.hpp.

References BareField< T, Dim >::BareField(), Dim, makeMesh(), and store_mesh().

Here is the call graph for this function:

◆ Field() [4/14]

template<class T, unsigned Dim, class M, class C>
Field< T, Dim, M, C >::Field ( Layout_t & l,
const BConds< T, Dim, M, C > & bc )

Definition at line 141 of file Field.hpp.

References BareField< T, Dim >::BareField(), Bc, Dim, makeMesh(), and store_mesh().

Here is the call graph for this function:

◆ Field() [5/14]

template<class T, unsigned Dim, class M, class C>
Field< T, Dim, M, C >::Field ( Layout_t & l,
const GuardCellSizes< Dim > & gc,
const BConds< T, Dim, M, C > & bc )

Definition at line 149 of file Field.hpp.

◆ Field() [6/14]

template<class T, unsigned Dim, class M, class C>
Field< T, Dim, M, C >::Field ( Layout_t & l,
const BConds< T, Dim, M, C > & bc,
const GuardCellSizes< Dim > & gc )

Definition at line 158 of file Field.hpp.

◆ Field() [7/14]

template<class T, unsigned Dim, class M, class C>
Field< T, Dim, M, C >::Field ( FieldSpec< T, Dim, M, C > & spec)

Definition at line 167 of file Field.hpp.

References BareField< T, Dim >::BareField(), Bc, Dim, makeMesh(), and store_mesh().

Here is the call graph for this function:

◆ Field() [8/14]

template<class T, unsigned Dim, class M = UniformCartesian<Dim,double>, class C = typename M::DefaultCentering>
Field< T, Dim, M, C >::Field ( Field< T, Dim, M, C > & )
constexprdefault

◆ Field() [9/14]

template<class T, unsigned Dim, class M, class C>
Field< T, Dim, M, C >::Field ( Mesh_t & m,
Layout_t & l )

Definition at line 179 of file Field.hpp.

References BareField< T, Dim >::BareField(), and Dim.

Here is the call graph for this function:

◆ Field() [10/14]

template<class T, unsigned Dim, class M, class C>
Field< T, Dim, M, C >::Field ( Mesh_t & m,
Layout_t & l,
const GuardCellSizes< Dim > & gc )

Definition at line 187 of file Field.hpp.

References BareField< T, Dim >::BareField(), Dim, and store_mesh().

Here is the call graph for this function:

◆ Field() [11/14]

template<class T, unsigned Dim, class M, class C>
Field< T, Dim, M, C >::Field ( Mesh_t & m,
Layout_t & l,
const BConds< T, Dim, M, C > & bc )

Definition at line 195 of file Field.hpp.

References BareField< T, Dim >::BareField(), Bc, Dim, and store_mesh().

Here is the call graph for this function:

◆ Field() [12/14]

template<class T, unsigned Dim, class M, class C>
Field< T, Dim, M, C >::Field ( Mesh_t & m,
Layout_t & l,
const GuardCellSizes< Dim > & gc,
const BConds< T, Dim, M, C > & bc )

Definition at line 204 of file Field.hpp.

References BareField< T, Dim >::BareField(), Bc, Dim, and store_mesh().

Here is the call graph for this function:

◆ Field() [13/14]

template<class T, unsigned Dim, class M, class C>
Field< T, Dim, M, C >::Field ( Mesh_t & m,
Layout_t & l,
const BConds< T, Dim, M, C > & bc,
const GuardCellSizes< Dim > & gc )

Definition at line 213 of file Field.hpp.

References BareField< T, Dim >::BareField(), Bc, Dim, and store_mesh().

Here is the call graph for this function:

◆ Field() [14/14]

template<class T, unsigned Dim, class M, class C>
Field< T, Dim, M, C >::Field ( Mesh_t & m,
FieldSpec< T, Dim, M, C > & spec )

Definition at line 222 of file Field.hpp.

References BareField< T, Dim >::BareField(), Bc, Dim, and store_mesh().

Here is the call graph for this function:

Member Function Documentation

◆ accumGuardCells()

◆ begin()

◆ begin_BConds()

template<class T, unsigned Dim, class M = UniformCartesian<Dim,double>, class C = typename M::DefaultCentering>
bcond_iterator Field< T, Dim, M, C >::begin_BConds ( )
inline

Definition at line 106 of file Field.h.

◆ begin_if() [1/2]

template<class T, unsigned Dim>
iterator_if BareField< T, Dim >::begin_if ( )
inlineinherited

◆ begin_if() [2/2]

template<class T, unsigned Dim>
const_iterator_if BareField< T, Dim >::begin_if ( ) const
inlineinherited

Definition at line 102 of file BareField.h.

◆ beginLoc()

template<class T, unsigned Dim>
iterator BareField< T, Dim >::beginLoc ( const FieldLoc< Dim > & loc) const
inlineinherited

Definition at line 249 of file BareField.h.

◆ clearDirtyFlag()

template<class T, unsigned Dim>
void BareField< T, Dim >::clearDirtyFlag ( )
inlineinherited

Definition at line 118 of file BareField.h.

Referenced by BareField(), and setup().

◆ Compress()

template<class T, unsigned Dim>
void BareField< T, Dim >::Compress ( ) const
inherited

Definition at line 991 of file BareField.hpp.

References BareField(), begin_if(), compressible_m, end_if(), and isDirty().

Referenced by accumGuardCells(), assign(), assign(), ParticleAttrib< Index_t >::gather(), ParticleAttrib< Index_t >::gather(), ParticleAttrib< Index_t >::gather(), DiscField< Dim >::read(), and BareField< Complex_t, Dim >::setCompression().

Here is the call graph for this function:

◆ CompressedFraction()

template<class T, unsigned Dim>
double BareField< T, Dim >::CompressedFraction ( ) const
inherited

Definition at line 1021 of file BareField.hpp.

References begin_if(), end_if(), LField< T, Dim >::getOwned(), LField< T, Dim >::IsCompressed(), and reduce().

Here is the call graph for this function:

◆ compressible()

template<class T, unsigned Dim>
bool BareField< T, Dim >::compressible ( ) const
inlineinherited

◆ connect() [1/2]

DataConnect * DataSource::connect ( const char * nm,
DataConnect * dataconn = 0,
int tm = DataSource::DEFAULT )
inherited

Definition at line 83 of file DataSource.cpp.

Referenced by DataConnect::connect(), and DataConnect::connect().

◆ connect() [2/2]

bool DataSource::connect ( DataSourceObject * dso)
inherited

Definition at line 127 of file DataSource.cpp.

References DataConnect::checkin(), DataSourceObject::connected(), ConnectionList, DataSourceObject::getConnection(), and DataSourceObject::getSource().

Here is the call graph for this function:

◆ connected()

bool DataSource::connected ( DataConnect * dataconn = 0) const
inherited

Definition at line 69 of file DataSource.cpp.

References ConnectionList, and findDataSourceObject().

Here is the call graph for this function:

◆ createDataSourceObject()

template<class T, unsigned Dim, class M, class C>
DataSourceObject * Field< T, Dim, M, C >::createDataSourceObject ( const char * nm,
DataConnect * dc,
int tm )
protectedvirtual

Implements DataSource.

Definition at line 489 of file Field.hpp.

References make_DataSourceObject().

Here is the call graph for this function:

◆ delete_mesh()

template<class T, unsigned Dim, class M, class C>
void Field< T, Dim, M, C >::delete_mesh ( )
private

Definition at line 513 of file Field.hpp.

References mesh, and WeOwnMesh.

Referenced by ~Field().

◆ disconnect()

bool DataSource::disconnect ( DataConnect * dataconn = 0)
inherited

Definition at line 143 of file DataSource.cpp.

References a, DataConnect::checkout(), and ConnectionList.

Referenced by DataConnect::checkout(), and ~DataSource().

Here is the call graph for this function:

◆ end()

template<class T, unsigned Dim>
iterator BareField< T, Dim >::end ( ) const
inlineinherited

◆ end_BConds()

template<class T, unsigned Dim, class M = UniformCartesian<Dim,double>, class C = typename M::DefaultCentering>
bcond_iterator Field< T, Dim, M, C >::end_BConds ( )
inline

Definition at line 107 of file Field.h.

◆ end_if() [1/2]

template<class T, unsigned Dim>
iterator_if BareField< T, Dim >::end_if ( )
inlineinherited

◆ end_if() [2/2]

template<class T, unsigned Dim>
const_iterator_if BareField< T, Dim >::end_if ( ) const
inlineinherited

Definition at line 103 of file BareField.h.

◆ fillGuardCells()

template<class T, unsigned Dim, class M, class C>
void Field< T, Dim, M, C >::fillGuardCells ( bool reallyFill = true) const
virtual

Reimplemented from BareField< T, Dim >.

Definition at line 366 of file Field.hpp.

References BConds< T, D, M, C >::apply(), Bc, Field(), BareField< T, Dim >::fillGuardCells(), getBConds(), and INCIPPLSTAT.

Referenced by ParticleAttrib< Index_t >::gather(), ParticleAttrib< Index_t >::gather(), and ParticleAttrib< Index_t >::gather().

Here is the call graph for this function:

◆ fillGuardCellsIfNotDirty()

template<class T, unsigned Dim>
void BareField< T, Dim >::fillGuardCellsIfNotDirty ( ) const
inlineinherited

◆ findDataSourceObject()

DataSourceObject * DataSource::findDataSourceObject ( DataConnect * dc) const
inherited

Definition at line 55 of file DataSource.cpp.

References a, and ConnectionList.

Referenced by connected().

◆ finishScalarCode()

template<class T, unsigned Dim>
void BareField< T, Dim >::finishScalarCode ( bool modified = true)
inlineinherited

Definition at line 280 of file BareField.h.

◆ get_Id()

ID_t User::get_Id ( ) const
inlineinherited

Definition at line 46 of file User.h.

References Id.

Referenced by UserList::checkinUser(), and UserList::checkoutUser().

◆ get_mesh()

template<class T, unsigned Dim, class M = UniformCartesian<Dim,double>, class C = typename M::DefaultCentering>
Mesh_t & Field< T, Dim, M, C >::get_mesh ( ) const
inline

◆ getBCond() [1/2]

template<class T, unsigned Dim, class M = UniformCartesian<Dim,double>, class C = typename M::DefaultCentering>
bcond_value & Field< T, Dim, M, C >::getBCond ( int bc)
inline

Definition at line 103 of file Field.h.

◆ getBCond() [2/2]

template<class T, unsigned Dim, class M = UniformCartesian<Dim,double>, class C = typename M::DefaultCentering>
const bcond_value & Field< T, Dim, M, C >::getBCond ( int bc) const
inline

Definition at line 102 of file Field.h.

◆ getBConds() [1/2]

template<class T, unsigned Dim, class M = UniformCartesian<Dim,double>, class C = typename M::DefaultCentering>
bcond_container & Field< T, Dim, M, C >::getBConds ( )
inline

Definition at line 105 of file Field.h.

◆ getBConds() [2/2]

template<class T, unsigned Dim, class M = UniformCartesian<Dim,double>, class C = typename M::DefaultCentering>
const bcond_container & Field< T, Dim, M, C >::getBConds ( ) const
inline

Definition at line 104 of file Field.h.

Referenced by fillGuardCells(), and Repartition().

◆ getDomain()

◆ getGC()

template<class T, unsigned Dim>
const GuardCellSizes< Dim > & BareField< T, Dim >::getGC ( ) const
inlineinherited

◆ getGuardCellSizes()

◆ getIndex()

template<class T, unsigned Dim>
const Index & BareField< T, Dim >::getIndex ( unsigned d) const
inlineinherited

Definition at line 151 of file BareField.h.

◆ getLayout()

◆ getsingle()

template<class T, unsigned int Dim>
void BareField< T, Dim >::getsingle ( const NDIndex< Dim > & Indexes,
T & r ) const
inherited

Definition at line 1201 of file BareField.hpp.

References AddGuardCells(), LField< T, Dim >::begin(), begin_if(), IpplInfo::Comm, COMM_ANY_NODE, end_if(), endl(), ERRORMSG, F_GETSINGLE_TAG, F_TAG_CYCLE, Gc, getMessage(), IpplInfo::getNodes(), getsingle_bc(), Layout, putMessage(), and NDIndex< Dim >::touches().

Here is the call graph for this function:

◆ getsingle_bc()

template<class T, unsigned Dim>
void BareField< T, D >::getsingle_bc ( const NDIndex< Dim > & ,
T &  ) const
privateinherited

Definition at line 1271 of file BareField.hpp.

References LField< T, Dim >::begin(), begin_if(), IpplInfo::Comm, end_if(), F_GETSINGLE_TAG, F_TAG_CYCLE, Gc, getMessage(), IpplInfo::getNodes(), Layout, IpplInfo::myNode(), and putMessage().

Referenced by getsingle().

Here is the call graph for this function:

◆ initialize() [1/14]

template<class T, unsigned Dim>
void BareField< T, Dim >::initialize ( Layout_t & l,
const bool p )
inherited

Definition at line 114 of file BareField.hpp.

References Layout, pinned, and setup().

Here is the call graph for this function:

◆ initialize() [2/14]

template<class T, unsigned Dim, class M, class C>
void Field< T, Dim, M, C >::initialize ( FieldSpec< T, Dim, M, C > & spec)

Definition at line 285 of file Field.hpp.

References Bc, FieldSpec< T, Dim, M, C >::get_BC(), FieldSpec< T, Dim, M, C >::get_GC(), FieldSpec< T, Dim, M, C >::get_Layout(), BareField< T, Dim >::initialize(), makeMesh(), and store_mesh().

Here is the call graph for this function:

◆ initialize() [3/14]

template<class T, unsigned Dim, class M, class C>
void Field< T, Dim, M, C >::initialize ( Layout_t & l)

Definition at line 236 of file Field.hpp.

References BareField< T, Dim >::initialize(), makeMesh(), and store_mesh().

Referenced by FFTBoxPoissonSolver::shiftedIntGreensFunction().

Here is the call graph for this function:

◆ initialize() [4/14]

template<class T, unsigned Dim, class M, class C>
void Field< T, Dim, M, C >::initialize ( Layout_t & l,
const BConds< T, Dim, M, C > & bc )

Definition at line 253 of file Field.hpp.

References Bc, BareField< T, Dim >::initialize(), makeMesh(), and store_mesh().

Here is the call graph for this function:

◆ initialize() [5/14]

template<class T, unsigned Dim, class M, class C>
void Field< T, Dim, M, C >::initialize ( Layout_t & l,
const BConds< T, Dim, M, C > & bc,
const GuardCellSizes< Dim > & gc )

Definition at line 274 of file Field.hpp.

References Bc, BareField< T, Dim >::initialize(), makeMesh(), and store_mesh().

Here is the call graph for this function:

◆ initialize() [6/14]

template<class T, unsigned Dim, class M, class C>
void Field< T, Dim, M, C >::initialize ( Layout_t & l,
const GuardCellSizes< Dim > & gc )

Definition at line 244 of file Field.hpp.

References BareField< T, Dim >::initialize(), makeMesh(), and store_mesh().

Here is the call graph for this function:

◆ initialize() [7/14]

template<class T, unsigned Dim, class M, class C>
void Field< T, Dim, M, C >::initialize ( Layout_t & l,
const GuardCellSizes< Dim > & gc,
const BConds< T, Dim, M, C > & bc )

Definition at line 263 of file Field.hpp.

References Bc, BareField< T, Dim >::initialize(), makeMesh(), and store_mesh().

Here is the call graph for this function:

◆ initialize() [8/14]

template<class T, unsigned Dim, class M, class C>
void Field< T, Dim, M, C >::initialize ( Mesh_t & m,
FieldSpec< T, Dim, M, C > & spec )

Definition at line 353 of file Field.hpp.

References Bc, FieldSpec< T, Dim, M, C >::get_BC(), FieldSpec< T, Dim, M, C >::get_GC(), FieldSpec< T, Dim, M, C >::get_Layout(), BareField< T, Dim >::initialize(), and store_mesh().

Here is the call graph for this function:

◆ initialize() [9/14]

template<class T, unsigned Dim, class M, class C>
void Field< T, Dim, M, C >::initialize ( Mesh_t & m,
Layout_t & l )

Definition at line 298 of file Field.hpp.

References BareField< T, Dim >::initialize(), and store_mesh().

Here is the call graph for this function:

◆ initialize() [10/14]

template<class T, unsigned Dim, class M, class C>
void Field< T, Dim, M, C >::initialize ( Mesh_t & m,
Layout_t & l,
const BConds< T, Dim, M, C > & bc )

Definition at line 323 of file Field.hpp.

References Bc, BareField< T, Dim >::initialize(), and store_mesh().

Here is the call graph for this function:

◆ initialize() [11/14]

template<class T, unsigned Dim, class M, class C>
void Field< T, Dim, M, C >::initialize ( Mesh_t & m,
Layout_t & l,
const BConds< T, Dim, M, C > & bc,
const GuardCellSizes< Dim > & gc )

Definition at line 343 of file Field.hpp.

References Bc, BareField< T, Dim >::initialize(), and store_mesh().

Here is the call graph for this function:

◆ initialize() [12/14]

template<class T, unsigned Dim, class M, class C>
void Field< T, Dim, M, C >::initialize ( Mesh_t & m,
Layout_t & l,
const bool p )

Definition at line 307 of file Field.hpp.

References BareField< T, Dim >::initialize(), and store_mesh().

Here is the call graph for this function:

◆ initialize() [13/14]

template<class T, unsigned Dim, class M, class C>
void Field< T, Dim, M, C >::initialize ( Mesh_t & m,
Layout_t & l,
const GuardCellSizes< Dim > & gc )

Definition at line 315 of file Field.hpp.

References BareField< T, Dim >::initialize(), and store_mesh().

Here is the call graph for this function:

◆ initialize() [14/14]

template<class T, unsigned Dim, class M, class C>
void Field< T, Dim, M, C >::initialize ( Mesh_t & m,
Layout_t & l,
const GuardCellSizes< Dim > & gc,
const BConds< T, Dim, M, C > & bc )

Definition at line 333 of file Field.hpp.

References Bc, BareField< T, Dim >::initialize(), and store_mesh().

Here is the call graph for this function:

◆ interact() [1/2]

void DataSource::interact ( const char * str,
DataConnect * dataconn = 0 )
inherited

Definition at line 208 of file DataSource.cpp.

References a, and ConnectionList.

◆ interact() [2/2]

void DataSource::interact ( DataConnect * dataconn = 0)
inherited

Definition at line 195 of file DataSource.cpp.

References a, and ConnectionList.

◆ isDirty()

◆ leftGuard()

◆ localElement()

template<class T, unsigned Dim>
T & BareField< T, Dim >::localElement ( const NDIndex< Dim > & Indexes) const
inherited

Definition at line 1154 of file BareField.hpp.

References IpplInfo::abort(), begin_if(), Dim, end_if(), endl(), ERRORMSG, LField< T, Dim >::getAllocated(), getLayout(), LField< T, Dim >::getP(), IpplInfo::myNode(), PtrOffset(), and LField< T, Dim >::Uncompress().

Referenced by MGPoissonSolver::computePotential().

Here is the call graph for this function:

◆ MakeExpression()

template<class T, unsigned Dim>
iterator BareField< T, Dim >::MakeExpression ( ) const
inlineinherited

Definition at line 327 of file BareField.h.

◆ notifyUserOfDelete()

template<class T, unsigned Dim, class M, class C>
void Field< T, Dim, M, C >::notifyUserOfDelete ( UserList * userlist)
virtual

Reimplemented from BareField< T, Dim >.

Definition at line 471 of file Field.hpp.

References UserList::getUserListID(), mesh, and BareField< T, Dim >::notifyUserOfDelete().

Here is the call graph for this function:

◆ operator=() [1/4]

template<class T, unsigned Dim, class M = UniformCartesian<Dim,double>, class C = typename M::DefaultCentering>
template<class X>
const Field< T, Dim, M, C > & Field< T, Dim, M, C >::operator= ( const BareField< X, Dim > & x)
inline

Definition at line 134 of file Field.h.

◆ operator=() [2/4]

template<class T, unsigned Dim, class M = UniformCartesian<Dim,double>, class C = typename M::DefaultCentering>
const Field< T, Dim, M, C > & Field< T, Dim, M, C >::operator= ( const Field< T, Dim, M, C > & x)
inline

Definition at line 128 of file Field.h.

◆ operator=() [3/4]

template<class T, unsigned Dim, class M = UniformCartesian<Dim,double>, class C = typename M::DefaultCentering>
template<class B>
const Field< T, Dim, M, C > & Field< T, Dim, M, C >::operator= ( const PETE_Expr< B > & x)
inline

Definition at line 140 of file Field.h.

◆ operator=() [4/4]

template<class T, unsigned Dim, class M = UniformCartesian<Dim,double>, class C = typename M::DefaultCentering>
const Field< T, Dim, M, C > & Field< T, Dim, M, C >::operator= ( T x)
inline

Definition at line 123 of file Field.h.

◆ operator[]() [1/4]

template<class T, unsigned Dim, class M, class C>
IndexedField< T, Dim, 1, M, C > Field< T, Dim, M, C >::operator[] ( const Index & idx)

Definition at line 390 of file Field.hpp.

◆ operator[]() [2/4]

template<class T, unsigned Dim, class M = UniformCartesian<Dim,double>, class C = typename M::DefaultCentering>
IndexedField< T, Dim, Dim, M, C > Field< T, Dim, M, C >::operator[] ( const NDIndex< Dim > & )

◆ operator[]() [3/4]

template<class T, unsigned Dim, class M = UniformCartesian<Dim,double>, class C = typename M::DefaultCentering>
SubField< T, Dim, M, C, SIndex< Dim > > Field< T, Dim, M, C >::operator[] ( const SIndex< Dim > & )

◆ operator[]() [4/4]

template<class T, unsigned Dim, class M, class C>
IndexedField< T, Dim, 1, M, C > Field< T, Dim, M, C >::operator[] ( int i)

Definition at line 400 of file Field.hpp.

◆ PETE_unwrap()

BareField< T, Dim > & PETE_Expr< BareField< T, Dim > >::PETE_unwrap ( )
inlineinherited

Definition at line 81 of file PETE.h.

◆ prepareForScalarCode()

template<class T, unsigned Dim>
void BareField< T, Dim >::prepareForScalarCode ( bool tryfill = true)
inlineinherited

Definition at line 262 of file BareField.h.

◆ print_Centerings()

template<class T, unsigned Dim, class M, class C>
void Field< T, Dim, M, C >::print_Centerings ( std::ostream & out)

Definition at line 431 of file Field.hpp.

◆ Repartition()

template<class T, unsigned Dim, class M, class C>
void Field< T, Dim, M, C >::Repartition ( UserList * userlist)
virtual

Reimplemented from BareField< T, Dim >.

Definition at line 441 of file Field.hpp.

References Field(), get_mesh(), getBConds(), BareField< T, Dim >::getGC(), UserList::getUserListID(), INCIPPLSTAT, BareField< T, Dim >::Locals_ac, and mesh.

Here is the call graph for this function:

◆ rightGuard()

◆ setCompression()

template<class T, unsigned Dim>
void BareField< T, Dim >::setCompression ( bool compress)
inlineinherited

◆ setDirtyFlag()

template<class T, unsigned Dim>
void BareField< T, Dim >::setDirtyFlag ( )
inlineinherited

◆ setGuardCells()

template<class T, unsigned Dim>
void BareField< T, Dim >::setGuardCells ( const T & val) const
inherited

◆ setup()

template<class T, unsigned Dim>
void BareField< T, Dim >::setup ( )
privateinherited

Definition at line 150 of file BareField.hpp.

References IpplInfo::abort(), AddGuardCells(), clearDirtyFlag(), end_if(), endl(), ERRORMSG, Gc, getLayout(), Locals_ac, and pinned.

Referenced by BareField(), BareField(), initialize(), and initialize().

Here is the call graph for this function:

◆ size_if()

template<class T, unsigned Dim>
ac_id_larray::size_type BareField< T, Dim >::size_if ( ) const
inlineinherited

Definition at line 104 of file BareField.h.

Referenced by assign().

◆ store_mesh()

template<class T, unsigned Dim, class M, class C>
void Field< T, Dim, M, C >::store_mesh ( Mesh_t * m,
bool WeOwn )
private

◆ Uncompress()

template<class T, unsigned Dim>
void BareField< T, Dim >::Uncompress ( ) const
inherited

◆ updateConnection()

bool DataSource::updateConnection ( DataConnect * dataconn = 0)
inherited

Definition at line 176 of file DataSource.cpp.

References a, and ConnectionList.

◆ write()

template<class T, unsigned Dim>
void BareField< T, Dim >::write ( std::ostream & out)
inherited

Definition at line 208 of file BareField.hpp.

References begin_if(), IpplInfo::Comm, end_if(), F_TAG_CYCLE, F_WRITE_TAG, LField< T, Dim >::getOwned(), and IpplInfo::myNode().

Referenced by operator<<().

Here is the call graph for this function:

◆ BareFieldIterator< T, Dim >

template<class T, unsigned Dim, class M = UniformCartesian<Dim,double>, class C = typename M::DefaultCentering>
friend class BareFieldIterator< T, Dim >
friend

Definition at line 1 of file Field.h.

Member Data Documentation

◆ Bc

template<class T, unsigned Dim, class M = UniformCartesian<Dim,double>, class C = typename M::DefaultCentering>
bcond_container Field< T, Dim, M, C >::Bc
private

◆ compressible_m

template<class T, unsigned Dim>
bool BareField< T, Dim >::compressible_m
privateinherited

Definition at line 354 of file BareField.h.

Referenced by BareField(), BareField(), BareField(), BareField(), and Compress().

◆ ConnectionList

container_t DataSource::ConnectionList
privateinherited

◆ dirty_m

template<class T, unsigned Dim>
bool BareField< T, Dim >::dirty_m
privateinherited

Definition at line 351 of file BareField.h.

◆ Gc

template<class T, unsigned Dim>
GuardCellSizes<Dim> BareField< T, Dim >::Gc
privateinherited

◆ Id

ID_t User::Id
protectedinherited

Definition at line 58 of file User.h.

Referenced by get_Id(), and User().

◆ Layout

template<class T, unsigned Dim>
Layout_t* BareField< T, Dim >::Layout
privateinherited

◆ Locals_ac

template<class T, unsigned Dim>
ac_id_larray BareField< T, Dim >::Locals_ac
protectedinherited

Definition at line 331 of file BareField.h.

Referenced by BareField(), Repartition(), Field< T, Dim, M, C >::Repartition(), and setup().

◆ mesh

template<class T, unsigned Dim, class M = UniformCartesian<Dim,double>, class C = typename M::DefaultCentering>
Mesh_t* Field< T, Dim, M, C >::mesh
private

Definition at line 174 of file Field.h.

Referenced by delete_mesh(), notifyUserOfDelete(), Repartition(), and store_mesh().

◆ pinned

template<class T, unsigned Dim>
bool BareField< T, Dim >::pinned
privateinherited

Definition at line 357 of file BareField.h.

Referenced by BareField(), BareField(), BareField(), BareField(), initialize(), and setup().

◆ WeOwnMesh

template<class T, unsigned Dim, class M = UniformCartesian<Dim,double>, class C = typename M::DefaultCentering>
bool Field< T, Dim, M, C >::WeOwnMesh
private

Definition at line 175 of file Field.h.

Referenced by delete_mesh(), and store_mesh().


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