#include <fem_impl.h>
Public Member Functions | |
FEM_T_List (int FIRST_DT_) | |
virtual | ~FEM_T_List () |
void | pup (PUP::er &p) |
virtual void | bad (int l, int bad_code, const char *caller) const =0 |
This routine is called when we're passed an invalid T index. | |
int | put (T *t) |
Insert a new T (allocated with "new"), returning the user index:. | |
T * | lookup (int l, const char *caller) const |
Get this T given its user index. | |
void | destroy (int l, const char *caller) |
Free this T. | |
void | empty (void) |
Clear all stored T's:. | |
FEM_T_List (int FIRST_DT_) | |
virtual | ~FEM_T_List () |
void | pup (PUP::er &p) |
virtual void | bad (int l, int bad_code, const char *caller) const =0 |
This routine is called when we're passed an invalid T index. | |
int | put (T *t) |
Insert a new T (allocated with "new"), returning the user index:. | |
T * | lookup (int l, const char *caller) const |
Get this T given its user index. | |
void | destroy (int l, const char *caller) |
Free this T. | |
void | empty (void) |
Clear all stored T's:. | |
Protected Member Functions | |
int | size (void) const |
void | check (int l, const char *caller) const |
If this isn't a valid, allocated index, abort. | |
void | badIndex (int l, const char *caller) const |
int | size (void) const |
void | check (int l, const char *caller) const |
If this isn't a valid, allocated index, abort. | |
void | badIndex (int l, const char *caller) const |
Protected Attributes | |
int | FIRST_DT |
Private Attributes | |
CkPupPtrVec< T > | list |
CkPupPtrVec< T > | list |
Keeps a list of dynamically-allocated T objects, indexed by a user-carried, persistent "int".
Definition at line 132 of file fem_impl.h.
FEM_T_List< T >::FEM_T_List | ( | int | FIRST_DT_ | ) | [inline] |
Definition at line 149 of file fem_impl.h.
virtual FEM_T_List< T >::~FEM_T_List | ( | ) | [inline, virtual] |
Definition at line 150 of file fem_impl.h.
FEM_T_List< T >::FEM_T_List | ( | int | FIRST_DT_ | ) | [inline] |
Definition at line 1666 of file ParFUM_internals.h.
virtual FEM_T_List< T >::~FEM_T_List | ( | ) | [inline, virtual] |
Definition at line 1667 of file ParFUM_internals.h.
int FEM_T_List< T >::size | ( | void | ) | const [inline, protected] |
Definition at line 136 of file fem_impl.h.
void FEM_T_List< T >::check | ( | int | l, | |
const char * | caller | |||
) | const [inline, protected] |
If this isn't a valid, allocated index, abort.
Definition at line 139 of file fem_impl.h.
Referenced by FEM_T_List< FEM_Mesh >::destroy(), and FEM_T_List< FEM_Mesh >::lookup().
void FEM_T_List< T >::badIndex | ( | int | l, | |
const char * | caller | |||
) | const [inline, protected] |
Definition at line 144 of file fem_impl.h.
Referenced by FEM_T_List< FEM_Mesh >::check().
void FEM_T_List< T >::pup | ( | PUP::er & | p | ) | [inline] |
Definition at line 151 of file fem_impl.h.
virtual void FEM_T_List< T >::bad | ( | int | l, | |
int | bad_code, | |||
const char * | caller | |||
) | const [pure virtual] |
This routine is called when we're passed an invalid T index.
Implemented in FEM_Mesh_list, and FEM_Mesh_list.
Referenced by FEM_T_List< FEM_Mesh >::badIndex().
int FEM_T_List< T >::put | ( | T * | t | ) | [inline] |
Insert a new T (allocated with "new"), returning the user index:.
Definition at line 157 of file fem_impl.h.
Referenced by FEM_Mesh_Partition_List::accept(), FEM_master_parallel_part(), FEM_Mesh_allocate(), FEM_Mesh_copy(), and FEM_slave_parallel_part().
T* FEM_T_List< T >::lookup | ( | int | l, | |
const char * | caller | |||
) | const [inline] |
Get this T given its user index.
Definition at line 169 of file fem_impl.h.
Referenced by FEM_Mesh_copy(), FEMchunk::getMesh(), FEMchunk::lookup(), and FEMchunk::setMesh().
void FEM_T_List< T >::destroy | ( | int | l, | |
const char * | caller | |||
) | [inline] |
Free this T.
Definition at line 175 of file fem_impl.h.
Referenced by FEM_T_List< FEM_Mesh >::empty(), and FORTRAN_AS_C_RETURN().
void FEM_T_List< T >::empty | ( | void | ) | [inline] |
int FEM_T_List< T >::size | ( | void | ) | const [inline, protected] |
Definition at line 1653 of file ParFUM_internals.h.
void FEM_T_List< T >::check | ( | int | l, | |
const char * | caller | |||
) | const [inline, protected] |
void FEM_T_List< T >::badIndex | ( | int | l, | |
const char * | caller | |||
) | const [inline, protected] |
Definition at line 1661 of file ParFUM_internals.h.
void FEM_T_List< T >::pup | ( | PUP::er & | p | ) | [inline] |
Definition at line 1668 of file ParFUM_internals.h.
virtual void FEM_T_List< T >::bad | ( | int | l, | |
int | bad_code, | |||
const char * | caller | |||
) | const [pure virtual] |
This routine is called when we're passed an invalid T index.
Implemented in FEM_Mesh_list, and FEM_Mesh_list.
int FEM_T_List< T >::put | ( | T * | t | ) | [inline] |
Insert a new T (allocated with "new"), returning the user index:.
Definition at line 1674 of file ParFUM_internals.h.
T* FEM_T_List< T >::lookup | ( | int | l, | |
const char * | caller | |||
) | const [inline] |
void FEM_T_List< T >::destroy | ( | int | l, | |
const char * | caller | |||
) | [inline] |
void FEM_T_List< T >::empty | ( | void | ) | [inline] |
CkPupPtrVec<T> FEM_T_List< T >::list [private] |
Definition at line 133 of file fem_impl.h.
Referenced by FEM_T_List< FEM_Mesh >::badIndex(), FEM_T_List< FEM_Mesh >::check(), FEM_T_List< FEM_Mesh >::destroy(), FEM_T_List< FEM_Mesh >::empty(), FEM_T_List< FEM_Mesh >::lookup(), FEM_T_List< FEM_Mesh >::pup(), FEM_T_List< FEM_Mesh >::put(), and FEM_T_List< FEM_Mesh >::size().
int FEM_T_List< T >::FIRST_DT [protected] |
Definition at line 135 of file fem_impl.h.
Referenced by FEM_T_List< FEM_Mesh >::badIndex(), FEM_T_List< FEM_Mesh >::check(), FEM_T_List< FEM_Mesh >::destroy(), FEM_T_List< FEM_Mesh >::lookup(), and FEM_T_List< FEM_Mesh >::put().
CkPupPtrVec<T> FEM_T_List< T >::list [private] |
Definition at line 1650 of file ParFUM_internals.h.