Field< T, Dim, M, C > Class Template Reference

#include <Field.h>

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

Inheritance graph
[legend]
Collaboration diagram for Field< T, Dim, M, C >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef M Mesh_t
typedef C Centering_t
typedef BareField< T, Dim > Base_t
typedef FieldLayout< Dim > Layout_t
typedef BConds< T, Dim, M, C > bcond_container
typedef BCondBase< T, Dim,
M, C > 
bcond_value
typedef bcond_container::iterator bcond_iterator

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 > &)
 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 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 (ostream &)
virtual void Repartition (UserList *)
virtual void notifyUserOfDelete (UserList *)

Protected Member Functions

virtual DataSourceObjectcreateDataSourceObject (const char *, DataConnect *, int)

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 37 of file Field.h.


Member Typedef Documentation

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 45 of file Field.h.

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 47 of file Field.h.

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 49 of file Field.h.

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 48 of file Field.h.

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 44 of file Field.h.

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
 

Reimplemented from BareField< T, Dim >.

Definition at line 46 of file Field.h.

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 43 of file Field.h.


Constructor & Destructor Documentation

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

Definition at line 103 of file Field.cpp.

References CT, TAU_FIELD, TAU_PROFILE, and TAU_TYPE_STRING.

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

Definition at line 113 of file Field.cpp.

References CT, TAU_FIELD, TAU_PROFILE, and TAU_TYPE_STRING.

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

Definition at line 126 of file Field.cpp.

References CT, makeMesh(), TAU_FIELD, TAU_PROFILE, and TAU_TYPE_STRING.

Here is the call graph for this function:

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

Definition at line 133 of file Field.cpp.

References CT, makeMesh(), TAU_FIELD, TAU_PROFILE, and TAU_TYPE_STRING.

Here is the call graph for this function:

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

Definition at line 141 of file Field.cpp.

References CT, makeMesh(), TAU_FIELD, TAU_PROFILE, and TAU_TYPE_STRING.

Here is the call graph for this function:

template<class T, unsigned Dim, class M, class C>
Field< T, Dim, M, C >::Field Layout_t ,
const GuardCellSizes< Dim > &  ,
const BConds< T, Dim, M, C > & 
 

Definition at line 149 of file Field.cpp.

References CT, makeMesh(), TAU_FIELD, TAU_PROFILE, and TAU_TYPE_STRING.

Here is the call graph for this function:

template<class T, unsigned Dim, class M, class C>
Field< T, Dim, M, C >::Field Layout_t ,
const BConds< T, Dim, M, C > &  ,
const GuardCellSizes< Dim > & 
 

Definition at line 158 of file Field.cpp.

References CT, makeMesh(), TAU_FIELD, TAU_PROFILE, and TAU_TYPE_STRING.

Here is the call graph for this function:

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

Definition at line 167 of file Field.cpp.

References CT, makeMesh(), TAU_FIELD, TAU_PROFILE, and TAU_TYPE_STRING.

Here is the call graph for this function:

template<class T, unsigned Dim, class M, class C>
Field< T, Dim, M, C >::Field Mesh_t ,
Layout_t
 

Definition at line 179 of file Field.cpp.

References CT, TAU_FIELD, TAU_PROFILE, and TAU_TYPE_STRING.

template<class T, unsigned Dim, class M, class C>
Field< T, Dim, M, C >::Field Mesh_t ,
Layout_t ,
const GuardCellSizes< Dim > & 
 

Definition at line 187 of file Field.cpp.

References CT, TAU_FIELD, TAU_PROFILE, and TAU_TYPE_STRING.

template<class T, unsigned Dim, class M, class C>
Field< T, Dim, M, C >::Field Mesh_t ,
Layout_t ,
const BConds< T, Dim, M, C > & 
 

Definition at line 197 of file Field.cpp.

References CT, TAU_FIELD, TAU_PROFILE, and TAU_TYPE_STRING.

template<class T, unsigned Dim, class M, class C>
Field< T, Dim, M, C >::Field Mesh_t ,
Layout_t ,
const GuardCellSizes< Dim > &  ,
const BConds< T, Dim, M, C > & 
 

Definition at line 206 of file Field.cpp.

References CT, TAU_FIELD, TAU_PROFILE, and TAU_TYPE_STRING.

template<class T, unsigned Dim, class M, class C>
Field< T, Dim, M, C >::Field Mesh_t ,
Layout_t ,
const BConds< T, Dim, M, C > &  ,
const GuardCellSizes< Dim > & 
 

Definition at line 217 of file Field.cpp.

References CT, TAU_FIELD, TAU_PROFILE, and TAU_TYPE_STRING.

template<class T, unsigned Dim, class M, class C>
Field< T, Dim, M, C >::Field Mesh_t ,
FieldSpec< T, Dim, M, C > & 
 

Definition at line 228 of file Field.cpp.

References CT, TAU_FIELD, TAU_PROFILE, and TAU_TYPE_STRING.


Member Function Documentation

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 108 of file Field.h.

template<class T, unsigned Dim, class M, class C>
DataSourceObject * Field< T, Dim, M, C >::createDataSourceObject const char *  ,
DataConnect ,
int 
[protected, virtual]
 

Implements DataSource.

Definition at line 492 of file Field.cpp.

References CT, make_DataSourceObject(), TAU_FIELD, TAU_PROFILE, and TAU_TYPE_STRING.

Here is the call graph for this function:

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 109 of file Field.h.

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 369 of file Field.cpp.

References BConds< T, D, M, C >::changesPhysicalCells(), CT, BareField< T, Dim >::fillGuardCells(), INCIPPLSTAT, TAU_FIELD, TAU_PROFILE, and TAU_TYPE_STRING.

Referenced by ParticleAttrib< T >::gather().

Here is the call graph for this function:

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]
 

Definition at line 112 of file Field.h.

Referenced by ParticleAttrib< T >::gather(), Field< T, Dim, M, C >::Repartition(), ParticleAttrib< T >::scatter(), and scatter().

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 105 of file Field.h.

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 104 of file Field.h.

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 107 of file Field.h.

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 106 of file Field.h.

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

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

Definition at line 356 of file Field.cpp.

References CT, 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(), TAU_FIELD, TAU_PROFILE, and TAU_TYPE_STRING.

Here is the call graph for this function:

template<class T, unsigned Dim, class M, class C>
void Field< T, Dim, M, C >::initialize Mesh_t ,
Layout_t ,
const BConds< T, Dim, M, C > &  ,
const GuardCellSizes< Dim > & 
 

Definition at line 344 of file Field.cpp.

References CT, BareField< T, Dim >::initialize(), TAU_FIELD, TAU_PROFILE, and TAU_TYPE_STRING.

Here is the call graph for this function:

template<class T, unsigned Dim, class M, class C>
void Field< T, Dim, M, C >::initialize Mesh_t ,
Layout_t ,
const GuardCellSizes< Dim > &  ,
const BConds< T, Dim, M, C > & 
 

Definition at line 332 of file Field.cpp.

References CT, BareField< T, Dim >::initialize(), TAU_FIELD, TAU_PROFILE, and TAU_TYPE_STRING.

Here is the call graph for this function:

template<class T, unsigned Dim, class M, class C>
void Field< T, Dim, M, C >::initialize Mesh_t ,
Layout_t ,
const BConds< T, Dim, M, C > & 
 

Definition at line 322 of file Field.cpp.

References CT, BareField< T, Dim >::initialize(), TAU_FIELD, TAU_PROFILE, and TAU_TYPE_STRING.

Here is the call graph for this function:

template<class T, unsigned Dim, class M, class C>
void Field< T, Dim, M, C >::initialize Mesh_t ,
Layout_t ,
const GuardCellSizes< Dim > & 
 

Definition at line 312 of file Field.cpp.

References CT, BareField< T, Dim >::initialize(), TAU_FIELD, TAU_PROFILE, and TAU_TYPE_STRING.

Here is the call graph for this function:

template<class T, unsigned Dim, class M, class C>
void Field< T, Dim, M, C >::initialize Mesh_t ,
Layout_t
 

Definition at line 304 of file Field.cpp.

References CT, BareField< T, Dim >::initialize(), TAU_FIELD, TAU_PROFILE, and TAU_TYPE_STRING.

Here is the call graph for this function:

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

Definition at line 291 of file Field.cpp.

References CT, 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(), TAU_FIELD, TAU_PROFILE, and TAU_TYPE_STRING.

Here is the call graph for this function:

template<class T, unsigned Dim, class M, class C>
void Field< T, Dim, M, C >::initialize Layout_t ,
const BConds< T, Dim, M, C > &  ,
const GuardCellSizes< Dim > & 
 

Definition at line 280 of file Field.cpp.

References CT, BareField< T, Dim >::initialize(), makeMesh(), TAU_FIELD, TAU_PROFILE, and TAU_TYPE_STRING.

Here is the call graph for this function:

template<class T, unsigned Dim, class M, class C>
void Field< T, Dim, M, C >::initialize Layout_t ,
const GuardCellSizes< Dim > &  ,
const BConds< T, Dim, M, C > & 
 

Definition at line 269 of file Field.cpp.

References CT, BareField< T, Dim >::initialize(), makeMesh(), TAU_FIELD, TAU_PROFILE, and TAU_TYPE_STRING.

Here is the call graph for this function:

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

Definition at line 259 of file Field.cpp.

References CT, BareField< T, Dim >::initialize(), makeMesh(), TAU_FIELD, TAU_PROFILE, and TAU_TYPE_STRING.

Here is the call graph for this function:

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

Reimplemented from BareField< T, Dim >.

Definition at line 250 of file Field.cpp.

References CT, BareField< T, Dim >::initialize(), makeMesh(), TAU_FIELD, TAU_PROFILE, and TAU_TYPE_STRING.

Here is the call graph for this function:

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

Reimplemented from BareField< T, Dim >.

Definition at line 242 of file Field.cpp.

References CT, BareField< T, Dim >::initialize(), makeMesh(), TAU_FIELD, TAU_PROFILE, and TAU_TYPE_STRING.

Here is the call graph for this function:

template<class T, unsigned Dim, class M, class C>
void Field< T, Dim, M, C >::notifyUserOfDelete UserList  )  [virtual]
 

Reimplemented from BareField< T, Dim >.

Definition at line 474 of file Field.cpp.

References CT, UserList::getUserListID(), TAU_FIELD, TAU_PROFILE, and TAU_TYPE_STRING.

Here is the call graph for this function:

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]
 

Reimplemented from BareField< T, Dim >.

Definition at line 142 of file Field.h.

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]
 

Reimplemented from BareField< T, Dim >.

Definition at line 136 of file Field.h.

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 130 of file Field.h.

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= x  )  [inline]
 

Reimplemented from BareField< T, Dim >.

Definition at line 125 of file Field.h.

template<class T, unsigned D, class M, class C>
SubField< T, D, M, C, SIndex< D > > Field< T, D, M, C >::operator[] const SIndex< Dim > &   ) 
 

Definition at line 423 of file Field.cpp.

References CT, TAU_FIELD, TAU_PROFILE, and TAU_TYPE_STRING.

template<class T, unsigned D, class M, class C>
IndexedField< T, D, D, M, C > Field< T, D, M, C >::operator[] const NDIndex< Dim > &   ) 
 

Definition at line 413 of file Field.cpp.

References CT, TAU_FIELD, TAU_PROFILE, and TAU_TYPE_STRING.

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

Reimplemented from BareField< T, Dim >.

Definition at line 403 of file Field.cpp.

References CT, TAU_FIELD, TAU_PROFILE, and TAU_TYPE_STRING.

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

Reimplemented from BareField< T, Dim >.

Definition at line 393 of file Field.cpp.

References CT, TAU_FIELD, TAU_PROFILE, and TAU_TYPE_STRING.

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

Definition at line 434 of file Field.cpp.

References CT, TAU_FIELD, TAU_IO, TAU_PROFILE, and TAU_TYPE_STRING.

template<class T, unsigned Dim, class M, class C>
void Field< T, Dim, M, C >::Repartition UserList  )  [virtual]
 

Reimplemented from BareField< T, Dim >.

Definition at line 444 of file Field.cpp.

References CT, Field< T, Dim, M, C >::get_mesh(), Field< T, Dim, M, C >::getBConds(), UserList::getUserListID(), INCIPPLSTAT, BareField< T, Dim >::Locals_ac, TAU_FIELD, TAU_PROFILE, and TAU_TYPE_STRING.

Here is the call graph for this function:


Friends And Related Function Documentation

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

Reimplemented from BareField< T, Dim >.

Definition at line 39 of file Field.h.


The documentation for this class was generated from the following files:
Generated on Mon Jan 16 14:38:48 2006 for IPPL by  doxygen 1.4.6