RegionLayout< T, Dim, MeshType > Class Template Reference

#include <RegionLayout.h>

Inheritance diagram for RegionLayout< T, Dim, MeshType >:

Inheritance graph
[legend]
Collaboration diagram for RegionLayout< T, Dim, MeshType >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef vmap< Unique::type,
Rnode< T, Dim > * > 
ac_id_vnodes
typedef DomainMap< NDRegion<
T, Dim >, Rnode< T, Dim > *,
TouchesRegion< T, Dim >,
ContainsRegion< T, Dim >,
SplitRegion< T, Dim > > 
ac_domain_vnodes
typedef ac_id_vnodes::iterator iterator_iv
typedef ac_id_vnodes::const_iterator const_iterator_iv
typedef ac_domain_vnodes::iterator iterator_dv
typedef ac_domain_vnodes::const_iterator const_iterator_dv
typedef ac_domain_vnodes::touch_iterator touch_iterator_dv
typedef pair< touch_iterator_dv,
touch_iterator_dv
touch_range_dv

Public Member Functions

 RegionLayout ()
 RegionLayout (const RegionLayout< T, Dim, MeshType > &)
 RegionLayout (const NDRegion< T, Dim > &domain, MeshType &mesh, int vnodes=-1)
 RegionLayout (const PRegion< T > &i1, MeshType &mesh, int vnodes=-1)
 RegionLayout (const PRegion< T > &i1, const PRegion< T > &i2, MeshType &mesh, int vnodes=-1)
 RegionLayout (const PRegion< T > &i1, const PRegion< T > &i2, const PRegion< T > &i3, MeshType &mesh, int vnodes=-1)
 RegionLayout (FieldLayout< Dim > &)
 RegionLayout (FieldLayout< Dim > &, MeshType &)
 RegionLayout (const NDIndex< Dim > &domain, int vnodes=-1)
 RegionLayout (const Index &i1, int vnodes=-1)
 RegionLayout (const Index &i1, const Index &i2, int vnodes=-1)
 RegionLayout (const Index &i1, const Index &i2, const Index &i3, int vnodes=-1)
 RegionLayout (const NDIndex< Dim > &domain, MeshType &mesh, int vnodes=-1)
 RegionLayout (const Index &i1, MeshType &mesh, int vnodes=-1)
 RegionLayout (const Index &i1, const Index &i2, MeshType &mesh, int vnodes=-1)
 RegionLayout (const Index &i1, const Index &i2, const Index &i3, MeshType &mesh, int vnodes=-1)
virtual ~RegionLayout ()
bool initialized () const
const NDRegion< T, Dim > & getDomain () const
FieldLayout< Dim > & getFieldLayout ()
const FieldLayout< Dim > & getFieldLayout () const
MeshType & getMesh ()
const MeshType & getMesh () const
ac_id_vnodes::size_type size_iv () const
iterator_iv begin_iv ()
iterator_iv end_iv ()
const_iterator_iv begin_iv () const
const_iterator_iv end_iv () const
ac_domain_vnodes::size_type size_rdv () const
iterator_dv begin_rdv ()
iterator_dv end_rdv ()
const_iterator_dv begin_rdv () const
const_iterator_dv end_rdv () const
touch_range_dv touch_range_rdv (const NDRegion< T, Dim > &domain)
void changeDomain (FieldLayout< Dim > &)
void changeDomain (const NDIndex< Dim > &, int vnodes=-1)
void changeDomain (const NDRegion< T, Dim > &, int vnodes=-1)
void RepartitionLayout (NDIndex< Dim > *, NDIndex< Dim > *)
void RepartitionLayout (NDIndex< Dim > &domain)
NDRegion< T, Dim > convert_index (const NDIndex< Dim > &) const
NDIndex< Dim > convert_region (const NDRegion< T, Dim > &) const
bool operator== (const RegionLayout< T, Dim, MeshType > &x)
virtual void Repartition (UserList *)
virtual void notifyUserOfDelete (UserList *)
UserList::ID_t get_Id () const
void checkin (FieldLayoutUser &f)
void checkout (FieldLayoutUser &f)

Detailed Description

template<class T, unsigned Dim, class MeshType = UniformCartesian<Dim,T>>
class RegionLayout< T, Dim, MeshType >

Definition at line 61 of file RegionLayout.h.


Member Typedef Documentation

template<class T, unsigned Dim, class MeshType = UniformCartesian<Dim,T>>
typedef DomainMap<NDRegion<T,Dim>, Rnode<T,Dim> *, TouchesRegion<T,Dim>, ContainsRegion<T,Dim>, SplitRegion<T,Dim> > RegionLayout< T, Dim, MeshType >::ac_domain_vnodes
 

Definition at line 69 of file RegionLayout.h.

template<class T, unsigned Dim, class MeshType = UniformCartesian<Dim,T>>
typedef vmap<Unique::type, Rnode<T,Dim> *> RegionLayout< T, Dim, MeshType >::ac_id_vnodes
 

Definition at line 65 of file RegionLayout.h.

template<class T, unsigned Dim, class MeshType = UniformCartesian<Dim,T>>
typedef ac_domain_vnodes::const_iterator RegionLayout< T, Dim, MeshType >::const_iterator_dv
 

Definition at line 75 of file RegionLayout.h.

template<class T, unsigned Dim, class MeshType = UniformCartesian<Dim,T>>
typedef ac_id_vnodes::const_iterator RegionLayout< T, Dim, MeshType >::const_iterator_iv
 

Definition at line 73 of file RegionLayout.h.

template<class T, unsigned Dim, class MeshType = UniformCartesian<Dim,T>>
typedef ac_domain_vnodes::iterator RegionLayout< T, Dim, MeshType >::iterator_dv
 

Definition at line 74 of file RegionLayout.h.

template<class T, unsigned Dim, class MeshType = UniformCartesian<Dim,T>>
typedef ac_id_vnodes::iterator RegionLayout< T, Dim, MeshType >::iterator_iv
 

Definition at line 72 of file RegionLayout.h.

template<class T, unsigned Dim, class MeshType = UniformCartesian<Dim,T>>
typedef ac_domain_vnodes::touch_iterator RegionLayout< T, Dim, MeshType >::touch_iterator_dv
 

Definition at line 76 of file RegionLayout.h.

template<class T, unsigned Dim, class MeshType = UniformCartesian<Dim,T>>
typedef pair<touch_iterator_dv,touch_iterator_dv> RegionLayout< T, Dim, MeshType >::touch_range_dv
 

Definition at line 77 of file RegionLayout.h.


Constructor & Destructor Documentation

template<class T, unsigned Dim, class MeshType>
RegionLayout< T, Dim, MeshType >::RegionLayout  ) 
 

Definition at line 45 of file RegionLayout.cpp.

References CT, TAU_PROFILE, TAU_REGION, and TAU_TYPE_STRING.

template<class T, unsigned Dim, class MeshType>
RegionLayout< T, Dim, MeshType >::RegionLayout const RegionLayout< T, Dim, MeshType > &   ) 
 

Definition at line 68 of file RegionLayout.cpp.

References CT, r, TAU_PROFILE, TAU_REGION, and TAU_TYPE_STRING.

template<class T, unsigned Dim, class MeshType>
RegionLayout< T, Dim, MeshType >::RegionLayout const NDRegion< T, Dim > &  domain,
MeshType &  mesh,
int  vnodes = -1
 

Definition at line 117 of file RegionLayout.cpp.

References RegionLayout< T, Dim, MeshType >::changeDomain(), CT, TAU_PROFILE, TAU_REGION, and TAU_TYPE_STRING.

Here is the call graph for this function:

template<class T, unsigned Dim, class MeshType>
RegionLayout< T, Dim, MeshType >::RegionLayout const PRegion< T > &  i1,
MeshType &  mesh,
int  vnodes = -1
 

Definition at line 132 of file RegionLayout.cpp.

References RegionLayout< T, Dim, MeshType >::changeDomain(), CT, PInsist, TAU_PROFILE, TAU_REGION, and TAU_TYPE_STRING.

Here is the call graph for this function:

template<class T, unsigned Dim, class MeshType>
RegionLayout< T, Dim, MeshType >::RegionLayout const PRegion< T > &  i1,
const PRegion< T > &  i2,
MeshType &  mesh,
int  vnodes = -1
 

Definition at line 151 of file RegionLayout.cpp.

References RegionLayout< T, Dim, MeshType >::changeDomain(), CT, PInsist, TAU_PROFILE, TAU_REGION, and TAU_TYPE_STRING.

Here is the call graph for this function:

template<class T, unsigned Dim, class MeshType>
RegionLayout< T, Dim, MeshType >::RegionLayout const PRegion< T > &  i1,
const PRegion< T > &  i2,
const PRegion< T > &  i3,
MeshType &  mesh,
int  vnodes = -1
 

Definition at line 174 of file RegionLayout.cpp.

References RegionLayout< T, Dim, MeshType >::changeDomain(), CT, PInsist, TAU_PROFILE, TAU_REGION, and TAU_TYPE_STRING.

Here is the call graph for this function:

template<class T, unsigned Dim, class MeshType>
RegionLayout< T, Dim, MeshType >::RegionLayout FieldLayout< Dim > &   ) 
 

Definition at line 377 of file RegionLayout.cpp.

References RegionLayout< T, Dim, MeshType >::changeDomain(), CT, FieldLayout< Dim >::getDomain(), TAU_PROFILE, TAU_REGION, and TAU_TYPE_STRING.

Here is the call graph for this function:

template<class T, unsigned Dim, class MeshType>
RegionLayout< T, Dim, MeshType >::RegionLayout FieldLayout< Dim > &  ,
MeshType & 
 

Definition at line 398 of file RegionLayout.cpp.

References RegionLayout< T, Dim, MeshType >::changeDomain(), CT, TAU_PROFILE, TAU_REGION, and TAU_TYPE_STRING.

Here is the call graph for this function:

template<class T, unsigned Dim, class MeshType>
RegionLayout< T, Dim, MeshType >::RegionLayout const NDIndex< Dim > &  domain,
int  vnodes = -1
 

Definition at line 201 of file RegionLayout.cpp.

References RegionLayout< T, Dim, MeshType >::changeDomain(), CT, TAU_PROFILE, TAU_REGION, and TAU_TYPE_STRING.

Here is the call graph for this function:

template<class T, unsigned Dim, class MeshType>
RegionLayout< T, Dim, MeshType >::RegionLayout const Index i1,
int  vnodes = -1
 

Definition at line 221 of file RegionLayout.cpp.

References RegionLayout< T, Dim, MeshType >::changeDomain(), CT, Index::first(), Index::last(), PInsist, Index::stride(), TAU_PROFILE, TAU_REGION, and TAU_TYPE_STRING.

Here is the call graph for this function:

template<class T, unsigned Dim, class MeshType>
RegionLayout< T, Dim, MeshType >::RegionLayout const Index i1,
const Index i2,
int  vnodes = -1
 

Definition at line 241 of file RegionLayout.cpp.

References RegionLayout< T, Dim, MeshType >::changeDomain(), CT, Index::first(), Index::last(), PInsist, Index::stride(), TAU_PROFILE, TAU_REGION, and TAU_TYPE_STRING.

Here is the call graph for this function:

template<class T, unsigned Dim, class MeshType>
RegionLayout< T, Dim, MeshType >::RegionLayout const Index i1,
const Index i2,
const Index i3,
int  vnodes = -1
 

Definition at line 264 of file RegionLayout.cpp.

References RegionLayout< T, Dim, MeshType >::changeDomain(), CT, Index::first(), Index::last(), PInsist, Index::stride(), TAU_PROFILE, TAU_REGION, and TAU_TYPE_STRING.

Here is the call graph for this function:

template<class T, unsigned Dim, class MeshType>
RegionLayout< T, Dim, MeshType >::RegionLayout const NDIndex< Dim > &  domain,
MeshType &  mesh,
int  vnodes = -1
 

Definition at line 292 of file RegionLayout.cpp.

References RegionLayout< T, Dim, MeshType >::changeDomain(), CT, TAU_PROFILE, TAU_REGION, and TAU_TYPE_STRING.

Here is the call graph for this function:

template<class T, unsigned Dim, class MeshType>
RegionLayout< T, Dim, MeshType >::RegionLayout const Index i1,
MeshType &  mesh,
int  vnodes = -1
 

Definition at line 308 of file RegionLayout.cpp.

References RegionLayout< T, Dim, MeshType >::changeDomain(), CT, PInsist, TAU_PROFILE, TAU_REGION, and TAU_TYPE_STRING.

Here is the call graph for this function:

template<class T, unsigned Dim, class MeshType>
RegionLayout< T, Dim, MeshType >::RegionLayout const Index i1,
const Index i2,
MeshType &  mesh,
int  vnodes = -1
 

Definition at line 328 of file RegionLayout.cpp.

References RegionLayout< T, Dim, MeshType >::changeDomain(), CT, PInsist, TAU_PROFILE, TAU_REGION, and TAU_TYPE_STRING.

Here is the call graph for this function:

template<class T, unsigned Dim, class MeshType>
RegionLayout< T, Dim, MeshType >::RegionLayout const Index i1,
const Index i2,
const Index i3,
MeshType &  mesh,
int  vnodes = -1
 

Definition at line 351 of file RegionLayout.cpp.

References RegionLayout< T, Dim, MeshType >::changeDomain(), CT, PInsist, TAU_PROFILE, TAU_REGION, and TAU_TYPE_STRING.

Here is the call graph for this function:

template<class T, unsigned Dim, class MeshType>
RegionLayout< T, Dim, MeshType >::~RegionLayout  )  [virtual]
 

Definition at line 99 of file RegionLayout.cpp.

References CT, TAU_PROFILE, TAU_REGION, and TAU_TYPE_STRING.


Member Function Documentation

template<class T, unsigned Dim, class MeshType = UniformCartesian<Dim,T>>
const_iterator_iv RegionLayout< T, Dim, MeshType >::begin_iv  )  const [inline]
 

Definition at line 154 of file RegionLayout.h.

template<class T, unsigned Dim, class MeshType = UniformCartesian<Dim,T>>
iterator_iv RegionLayout< T, Dim, MeshType >::begin_iv  )  [inline]
 

Definition at line 152 of file RegionLayout.h.

Referenced by ParticleSpatialLayout< T, Dim, Mesh >::swap_particles().

template<class T, unsigned Dim, class MeshType = UniformCartesian<Dim,T>>
const_iterator_dv RegionLayout< T, Dim, MeshType >::begin_rdv  )  const [inline]
 

Definition at line 163 of file RegionLayout.h.

template<class T, unsigned Dim, class MeshType = UniformCartesian<Dim,T>>
iterator_dv RegionLayout< T, Dim, MeshType >::begin_rdv  )  [inline]
 

Definition at line 161 of file RegionLayout.h.

template<class T, unsigned Dim, class MeshType>
void RegionLayout< T, Dim, MeshType >::changeDomain const NDRegion< T, Dim > &  ,
int  vnodes = -1
 

Definition at line 458 of file RegionLayout.cpp.

References CT, PAssert, TAU_PROFILE, TAU_REGION, and TAU_TYPE_STRING.

template<class T, unsigned Dim, class MeshType>
void RegionLayout< T, Dim, MeshType >::changeDomain const NDIndex< Dim > &  ,
int  vnodes = -1
 

Definition at line 415 of file RegionLayout.cpp.

References CT, TAU_PROFILE, TAU_REGION, and TAU_TYPE_STRING.

template<class T, unsigned Dim, class MeshType>
void RegionLayout< T, Dim, MeshType >::changeDomain FieldLayout< Dim > &   ) 
 

Definition at line 500 of file RegionLayout.cpp.

References CT, FieldLayout< Dim >::getDomain(), TAU_PROFILE, TAU_REGION, and TAU_TYPE_STRING.

Referenced by RegionLayout< T, Dim, MeshType >::RegionLayout(), and RegionLayout< T, Dim, MeshType >::Repartition().

Here is the call graph for this function:

template<class T, unsigned Dim, class MeshType = UniformCartesian<Dim,T>>
void RegionLayout< T, Dim, MeshType >::checkin FieldLayoutUser f  )  [inline]
 

Definition at line 265 of file RegionLayout.h.

Referenced by ParticleSpatialLayout< T, Dim, Mesh >::setup().

template<class T, unsigned Dim, class MeshType = UniformCartesian<Dim,T>>
void RegionLayout< T, Dim, MeshType >::checkout FieldLayoutUser f  )  [inline]
 

Definition at line 271 of file RegionLayout.h.

Referenced by ParticleSpatialLayout< T, Dim, Mesh >::~ParticleSpatialLayout().

template<class T, unsigned Dim, class MeshType>
NDRegion< T, Dim > RegionLayout< T, Dim, MeshType >::convert_index const NDIndex< Dim > &   )  const
 

Definition at line 540 of file RegionLayout.cpp.

References CT, TAU_PROFILE, TAU_REGION, and TAU_TYPE_STRING.

template<class T, unsigned Dim, class MeshType>
NDIndex< Dim > RegionLayout< T, Dim, MeshType >::convert_region const NDRegion< T, Dim > &   )  const
 

Definition at line 589 of file RegionLayout.cpp.

References CT, TAU_PROFILE, TAU_REGION, and TAU_TYPE_STRING.

template<class T, unsigned Dim, class MeshType = UniformCartesian<Dim,T>>
const_iterator_iv RegionLayout< T, Dim, MeshType >::end_iv  )  const [inline]
 

Definition at line 155 of file RegionLayout.h.

template<class T, unsigned Dim, class MeshType = UniformCartesian<Dim,T>>
iterator_iv RegionLayout< T, Dim, MeshType >::end_iv  )  [inline]
 

Definition at line 153 of file RegionLayout.h.

template<class T, unsigned Dim, class MeshType = UniformCartesian<Dim,T>>
const_iterator_dv RegionLayout< T, Dim, MeshType >::end_rdv  )  const [inline]
 

Definition at line 164 of file RegionLayout.h.

template<class T, unsigned Dim, class MeshType = UniformCartesian<Dim,T>>
iterator_dv RegionLayout< T, Dim, MeshType >::end_rdv  )  [inline]
 

Definition at line 162 of file RegionLayout.h.

template<class T, unsigned Dim, class MeshType = UniformCartesian<Dim,T>>
UserList::ID_t RegionLayout< T, Dim, MeshType >::get_Id  )  const [inline]
 

Reimplemented from User.

Definition at line 260 of file RegionLayout.h.

Referenced by ParticleSpatialLayout< T, Dim, Mesh >::Repartition(), and ParticleInteractLayout< T, Dim, Mesh >::Repartition().

template<class T, unsigned Dim, class MeshType = UniformCartesian<Dim,T>>
const NDRegion<T,Dim>& RegionLayout< T, Dim, MeshType >::getDomain void   )  const [inline]
 

Definition at line 137 of file RegionLayout.h.

Referenced by ParticleSpatialLayout< T, Dim, Mesh >::update(), and ParticleInteractLayout< T, Dim, Mesh >::update().

template<class T, unsigned Dim, class MeshType = UniformCartesian<Dim,T>>
const FieldLayout<Dim>& RegionLayout< T, Dim, MeshType >::getFieldLayout  )  const [inline]
 

Definition at line 144 of file RegionLayout.h.

template<class T, unsigned Dim, class MeshType = UniformCartesian<Dim,T>>
FieldLayout<Dim>& RegionLayout< T, Dim, MeshType >::getFieldLayout  )  [inline]
 

Definition at line 143 of file RegionLayout.h.

Referenced by ParticleSpatialLayout< T, Dim, Mesh >::getFieldLayout().

template<class T, unsigned Dim, class MeshType = UniformCartesian<Dim,T>>
const MeshType& RegionLayout< T, Dim, MeshType >::getMesh  )  const [inline]
 

Definition at line 148 of file RegionLayout.h.

template<class T, unsigned Dim, class MeshType = UniformCartesian<Dim,T>>
MeshType& RegionLayout< T, Dim, MeshType >::getMesh  )  [inline]
 

Definition at line 147 of file RegionLayout.h.

template<class T, unsigned Dim, class MeshType = UniformCartesian<Dim,T>>
bool RegionLayout< T, Dim, MeshType >::initialized  )  const [inline]
 

Definition at line 134 of file RegionLayout.h.

Referenced by BinaryRepartition(), and ParticleSpatialLayout< T, Dim, Mesh >::update().

template<class T, unsigned Dim, class MeshType>
void RegionLayout< T, Dim, MeshType >::notifyUserOfDelete UserList  )  [virtual]
 

Implements User.

Definition at line 940 of file RegionLayout.cpp.

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

Here is the call graph for this function:

template<class T, unsigned Dim, class MeshType = UniformCartesian<Dim,T>>
bool RegionLayout< T, Dim, MeshType >::operator== const RegionLayout< T, Dim, MeshType > &  x  )  [inline]
 

Definition at line 235 of file RegionLayout.h.

template<class T, unsigned Dim, class MeshType>
void RegionLayout< T, Dim, MeshType >::Repartition UserList  )  [virtual]
 

Implements FieldLayoutUser.

Definition at line 893 of file RegionLayout.cpp.

References RegionLayout< T, Dim, MeshType >::changeDomain(), CT, UserList::getUserListID(), RegionLayout< T, Dim, MeshType >::size_iv(), RegionLayout< T, Dim, MeshType >::size_rdv(), TAU_PROFILE, TAU_REGION, and TAU_TYPE_STRING.

Here is the call graph for this function:

template<class T, unsigned Dim, class MeshType = UniformCartesian<Dim,T>>
void RegionLayout< T, Dim, MeshType >::RepartitionLayout NDIndex< Dim > &  domain  )  [inline]
 

Definition at line 190 of file RegionLayout.h.

template<class T, unsigned Dim, class MeshType>
void RegionLayout< T, Dim, MeshType >::RepartitionLayout NDIndex< Dim > *  ,
NDIndex< Dim > * 
 

Definition at line 874 of file RegionLayout.cpp.

References CT, TAU_PROFILE, TAU_REGION, and TAU_TYPE_STRING.

Referenced by RegionLayout< T, Dim, Mesh >::RepartitionLayout().

template<class T, unsigned Dim, class MeshType = UniformCartesian<Dim,T>>
ac_id_vnodes::size_type RegionLayout< T, Dim, MeshType >::size_iv  )  const [inline]
 

Definition at line 151 of file RegionLayout.h.

Referenced by RegionLayout< T, Dim, MeshType >::Repartition().

template<class T, unsigned Dim, class MeshType = UniformCartesian<Dim,T>>
ac_domain_vnodes::size_type RegionLayout< T, Dim, MeshType >::size_rdv  )  const [inline]
 

Definition at line 158 of file RegionLayout.h.

Referenced by RegionLayout< T, Dim, MeshType >::Repartition().

template<class T, unsigned Dim, class MeshType = UniformCartesian<Dim,T>>
touch_range_dv RegionLayout< T, Dim, MeshType >::touch_range_rdv const NDRegion< T, Dim > &  domain  )  [inline]
 

Definition at line 165 of file RegionLayout.h.


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