AMROC Main     Blockstructured Adaptive Mesh Refinement in object-oriented C++


Main Page   Class Hierarchy   Compound List   File List  

GridFunctionVoid Class Reference

Common behaviour of dimensional-dependent GridFunctions. More...

#include <GridFunctionVoid.h>

Inheritance diagram for GridFunctionVoid:

Inheritance graph
[legend]
Collaboration diagram for GridFunctionVoid:

Collaboration graph
[legend]
List of all members.

Public Methods

 GridFunctionVoid (const int type, const int rank, const char name[], GridHierarchy &gh, const int loff, const int cfac, const int align, const int bndrywidth, const int extghwidth, const int cflag, const int bflag, const int adptbflag, const int extghflag)
 GridFunctionVoid (const int type, const int rank, const char name[], const int tsten, const int ssten, GridHierarchy &gh, const int loff, const int cfac, const int align, const int bndrywidth, const int extghwidth, const int cflag, const int bflag, const int adptbflag, const int extghflag)
 GridFunctionVoid (const int type, const int rank, const char name[], const int tsten, const int *ssten, GridHierarchy &gh, const int loff, const int cfac, const int align, const int bndrywidth, const int extghwidth, const int cflag, const int bflag, const int adptbflag, const int extghflag)
 GridFunctionVoid (const char name[], const int rank, const GridFunctionVoid &gfv, const int cflag, const int bflag, const int adptbflag, const int extghflag)
virtual ~GridFunctionVoid ()
void GF_SetGridFunctionType (const int gft)
void GF_SetCommType (const int cflag)
void GF_SetBoundaryType (const int bflag)
void GF_SetAdaptBoundaryType (const int adptbflag)
void GF_SetExternalGhostFlag (const int egflag)
void GF_SetInitializeFlag (const int flag)
void GF_SetUpdateFlag (const int flag)
void GF_SetProlongFlag (const int flag)
void GF_SetRestrictFlag (const int flag)
void GF_SetBndryUpdateFlag (const int flag)
void GF_SetAdaptBndryUpdateFlag (const int flag)
void GF_SetIOFlag (const int flag)
void GF_SetCheckpointFlag (const int flag)
int initialize ()
int update ()
int prolong ()
int Restrict ()
int bndry_update ()
int adaptbndry_update ()
int io ()
int checkpoint ()
void GF_BoundaryWidth (const int width)
void GF_ExternalGhostWidth (const int width)
void GF_SetSpaceStencil (const int s_sten)
void GF_SetSpaceStencil (const int *s_sten)
void GF_SetTimeStencil (const int t_sten)
void GF_SetAlignment (const int align)
void GF_SetTimeAlias (const int t, const int alias_to)
void GF_SetMaxRecomposeLevel (const int l)
int GF_Id () const
int GF_Type () const
char const * GF_Name () const
char * GF_Name ()
int GF_Rank () const
void GF_SetName (char *newname)
int factor () const
int GF_Alignment () const
int comm () const
int externalboundary () const
int adaptiveboundary () const
int externalghost () const
int composed () const
int comm_type () const
int boundary_type () const
int adaptiveboundary_type () const
int boundary_width () const
int externalghost_width () const
BBox usedbbox (const BBox &gb, const int &level, const int &align)
BBox usedbbox (const GridBox &gb, const int &level, const int &align)
 BBox internally used for allocation of GridData-object.

int updatedvaluestep () const
void setupdatedvaluestep (const int ustep)
void GF_SetUserFlag (const int id, const short &f)
short GF_GetUserFlag (const int id)
void GF_FreeTmpStorage ()
virtual void GF_DeleteGDBStorage (const int t)
virtual void GF_Sync (const int time, const int level)
virtual void GF_Sync (const int time, const int level, const int axis, const int dir)
virtual void GF_WriteGhosts (const int time, const int level)
virtual void GF_WriteGhosts (const int time, const int level, const int axis, const int dir)
virtual void GF_ReadGhosts (const int time, const int level)
virtual void GF_ReadGhosts (const int time, const int level, const int axis, const int dir)
virtual void GF_Compose ()
virtual void GF_Recompose (int *reuse_possible, GridBoxList **ollist, GridBoxList **rlist, GridBoxList **slist, GridBoxList **olist)
virtual void GF_CheckpointRecompose ()
virtual void GF_CheckpointRecompose (strstream &ifs)
virtual void GF_Checkpoint (ofstream &ofs)
virtual void GF_Checkpoint (strstream &ofs)
virtual int GF_Checkpoint_StrStream_Memory ()
virtual void GF_CheckpointRestart (int proc=-1)
virtual void GF_CheckpointRestart (strstream &ifs)

Protected Attributes

short gfid
short gftype
short gfrank
char * gfname
short overlap [(3)]
int loffset
int cfactor
short alignment
short bwidth
short extghostwidth
short comm_flag
short bndry_flag
short adaptbndry_flag
short extghost_flag
short compose_flag
short template_flag
short init_flag
short update_flag
short prolong_flag
short restrict_flag
short bndry_update_flag
short adaptbndry_update_flag
short io_flag
short chkpt_flag
int lmax_recompose
short time_sten_rad
short * space_sten_rad
short * time_alias
double * phys_time
GhostInteraction interactions
GF_Interaction *** ghost_send_info
short * ghost_recv_cnt
GF_Interaction *** ghost_recv_info
GridTableGhostRcv *** ghost_recv_server
GridTableDataRcv *** data_recv_server
BBoxList ** bndrybboxlist
BBoxList ** prolongbboxlist
int updatedstep
GridTablegt
GridHierarchydagh
short userflags [(10)]
unsigned * rcvsize
unsigned * sndsize
BBoxsndbbox
short * sndindex
short * rcvindex
short * sndlevel
short * sndcnt

Friends

class GridHierarchy
ostream & operator<< (ostream &, const GridFunctionVoid &)
ofstream & operator<< (ofstream &, const GridFunctionVoid &)
ifstream & operator>> (ifstream &, GridFunctionVoid &)
strstream & operator<< (strstream &, const GridFunctionVoid &)
strstream & operator>> (strstream &, GridFunctionVoid &)

Detailed Description

Common behaviour of dimensional-dependent GridFunctions.

Author:
Manish Parashar, Ralf Deiterding (minor changes)

Definition at line 33 of file GridFunctionVoid.h.


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


Quickstart     Users Guide     Programmers Reference     Installation      Examples     Download



AMROC Main      Home      Contact
last update: 06/01/04