|
| LNodeIndex (int lagrangian_nidx=-1, int global_petsc_nidx=-1, int local_petsc_nidx=-1, const SAMRAI::hier::IntVector< NDIM > &initial_periodic_offset=SAMRAI::hier::IntVector< NDIM >(0), const SAMRAI::hier::IntVector< NDIM > ¤t_periodic_offset=SAMRAI::hier::IntVector< NDIM >(0), const Vector &initial_periodic_displacement=Vector::Zero(), const Vector ¤t_periodic_displacement=Vector::Zero()) |
| Default constructor.
|
|
| LNodeIndex (const LNodeIndex &from) |
| Copy constructor. More...
|
|
| LNodeIndex (SAMRAI::tbox::AbstractStream &stream, const SAMRAI::hier::IntVector< NDIM > &offset) |
| Constructor that unpacks data from an input stream.
|
|
virtual | ~LNodeIndex () |
| Virtual destructor.
|
|
LNodeIndex & | operator= (const LNodeIndex &that) |
| Assignment operator. More...
|
|
int | getLagrangianIndex () const |
|
void | setLagrangianIndex (int lagrangian_nidx) |
| Reset the Lagrangian index referenced by this LNodeIndex object.
|
|
int | getGlobalPETScIndex () const |
|
void | setGlobalPETScIndex (int global_petsc_nidx) |
| Reset the global PETSc index referenced by this LNodeIndex object.
|
|
int | getLocalPETScIndex () const |
|
void | setLocalPETScIndex (int local_petsc_nidx) |
| Reset the local PETSc index referenced by this LNodeIndex object.
|
|
virtual void | registerPeriodicShift (const SAMRAI::hier::IntVector< NDIM > &offset, const Vector &displacement) |
| Indicate that the LNodeIndex object has been shifted across a periodic boundary.
|
|
virtual const SAMRAI::hier::IntVector< NDIM > & | getInitialPeriodicOffset () const |
| Get the initial (t = 0) periodic offset.
|
|
virtual const SAMRAI::hier::IntVector< NDIM > & | getPeriodicOffset () const |
| Get the periodic offset.
|
|
virtual const Vector & | getInitialPeriodicDisplacement () const |
| Get the initial (t = 0) periodic displacement.
|
|
virtual const Vector & | getPeriodicDisplacement () const |
| Get the periodic displacement.
|
|
virtual void | copySourceItem (const SAMRAI::hier::Index< NDIM > &src_index, const SAMRAI::hier::IntVector< NDIM > &src_offset, const LNodeIndex &src_item) |
| Copy data from the source. More...
|
|
virtual size_t | getDataStreamSize () const |
| Return an upper bound on the amount of space required to pack the object to a buffer.
|
|
virtual void | packStream (SAMRAI::tbox::AbstractStream &stream) |
| Pack data into the output stream.
|
|
virtual void | unpackStream (SAMRAI::tbox::AbstractStream &stream, const SAMRAI::hier::IntVector< NDIM > &offset) |
| Unpack data from the input stream.
|
|
Class LNodeIndex provides Lagrangian and PETSc indexing information for a single node of a Lagrangian mesh.