COVISE Core
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
Public Member Functions | Protected Member Functions | Static Private Member Functions | Private Attributes | Friends | List of all members
covise::coDoUniformGrid Class Reference

#include <coDoUniformGrid.h>

Inheritance diagram for covise::coDoUniformGrid:
Inheritance graph
[legend]
Collaboration diagram for covise::coDoUniformGrid:
Collaboration graph
[legend]

Public Member Functions

void SwapMinMax (int dimension)
 SwapMinMax changes min and max of x(0),y(1) or z(3) directions. More...
 
 coDoUniformGrid (const coObjInfo &info)
 
 coDoUniformGrid (const coObjInfo &info, coShmArray *arr)
 
 coDoUniformGrid (const coObjInfo &info, int x, int y, int z, float xmin, float xmax, float ymin, float ymax, float zmin, float zmax)
 
 coDoUniformGrid (const coObjInfo &info, float dx, float dy, float dz, float xmin, float xmax, float ymin, float ymax, float zmin, float zmax)
 
virtual ~coDoUniformGrid ()
 
void getDelta (float *dx, float *dy, float *dz) const
 
virtual void getGridSize (int *x, int *y, int *z) const
 
void getMinMax (float *xmin, float *xmax, float *ymin, float *ymax, float *zmin, float *zmax) const
 
virtual void getPointCoordinates (int i, float *x_c, int j, float *y_c, int k, float *z_c) const
 
virtual int interpolateField (float *v_interp, const float *point, int *cell, int no_arrays, int array_dim, const float *const *velo)
 
- Public Member Functions inherited from covise::coDoAbstractStructuredGrid
 coDoAbstractStructuredGrid (const coObjInfo &info, const char *t)
 
int getNumPoints () const
 
- Public Member Functions inherited from covise::coDoGrid
 coDoGrid (const coObjInfo &info)
 
 coDoGrid (const coObjInfo &info, const char *t)
 
- Public Member Functions inherited from covise::coDistributedObject
void getShmLocation (int &shmSegNo, shmSizeType &offset) const
 Get my location in shared memory. More...
 
void addAttribute (const char *, const char *)
 Attach an attribute to an object. More...
 
void addAttributes (int, const char *const *, const char *const *)
 Attach multiple attributes to an object. More...
 
const char * getAttribute (const char *) const
 get one attribute More...
 
int getNumAttributes () const
 get number of attributes More...
 
int getAllAttributes (const char ***name, const char ***content) const
 get all attributes More...
 
void copyAllAttributes (const coDistributedObject *src)
 copy all attributes from src to this object More...
 
char * getName () const
 get the object's name More...
 
const char * getType () const
 get the object's type More...
 
int isType (const char *reqType) const
 check whether this is a certain type More...
 
bool objectOk () const
 check whether object was created or received ok More...
 
 coDistributedObject ()
 
 coDistributedObject (const coObjInfo &info)
 
 coDistributedObject (const coObjInfo &info, const char *t)
 
 coDistributedObject (const coObjInfo &info, int shmSeg, shmSizeType offs, char *t)
 
virtual ~coDistributedObject ()
 
coDistributedObjectclone (const coObjInfo &newinfo) const
 
void copyObjInfo (coObjInfo *info) const
 
const coDistributedObjectcreateUnknown () const
 
int * store_header (int, int, int, int *, data_type *, long *, int **)
 
int restore_header (int **, int, int *, int *, shmSizeType *)
 
void init_header (int *, int *, int, data_type **, long **)
 
int update_shared_dl (int count, covise_data_list *dl)
 
int store_shared_dl (int count, covise_data_list *dl)
 
int restore_shared_dl (int count, covise_data_list *dl)
 
void setType (const char *, const char *)
 
int getObjectInfo (coDoInfo **) const
 
int get_type_no () const
 
int access (access_type)
 
int destroy ()
 
char * object_on_hosts () const
 
int incRefCount () const
 
int decRefCount () const
 
int getRefCount () const
 
void print () const
 
void getObjectFromShm ()
 Common function for all read-Constructors: More...
 
bool checkObject () const
 Check object: return true if valid, false if not. More...
 

Protected Member Functions

int rebuildFromShm ()
 
int getObjInfo (int, coDoInfo **) const
 
coDoUniformGridcloneObject (const coObjInfo &newinfo) const
 
- Protected Member Functions inherited from covise::coDistributedObject
int getShmArray () const
 
int createFromShm (coShmArray *arr)
 
bool checkObj (int shmSegNo, shmSizeType shmOffs, bool &printed) const
 Check object in shared memory. More...
 

Static Private Member Functions

static coDistributedObjectvirtualCtor (coShmArray *arr)
 

Private Attributes

coIntShm x_disc
 
coIntShm y_disc
 
coIntShm z_disc
 
coFloatShm x_min
 
coFloatShm x_max
 
coFloatShm y_min
 
coFloatShm y_max
 
coFloatShm z_min
 
coFloatShm z_max
 

Friends

class coDoInitializer
 

Additional Inherited Members

- Static Public Member Functions inherited from covise::coDistributedObject
static const coDistributedObjectcreateFromShm (const coObjInfo &newinfo)
 
static const coDistributedObjectcreateUnknown (coShmArray *)
 
static const coDistributedObjectcreateUnknown (int seg, shmSizeType offs)
 
static int calcType (const char *)
 
static char * calcTypeString (int)
 
static int set_vconstr (const char *, coDistributedObject *(*)(coShmArray *))
 
- Protected Attributes inherited from covise::coDistributedObject
coIntShm version
 
coIntShm refcount
 
coShmArrayshmarr
 
coStringShmArrayattributes
 
coDoHeaderheader
 
char type_name [7]
 
int type_no
 
char * name
 
int loc_version
 
bool new_ok
 
int size
 
char * attribs
 

Constructor & Destructor Documentation

covise::coDoUniformGrid::coDoUniformGrid ( const coObjInfo info)
inline
coDoUniformGrid::coDoUniformGrid ( const coObjInfo info,
coShmArray arr 
)
coDoUniformGrid::coDoUniformGrid ( const coObjInfo info,
int  x,
int  y,
int  z,
float  xmin = 0,
float  xmax = 0,
float  ymin = 0,
float  ymax = 0,
float  zmin = 0,
float  zmax = 0 
)
coDoUniformGrid::coDoUniformGrid ( const coObjInfo info,
float  dx,
float  dy,
float  dz,
float  xmin,
float  xmax,
float  ymin,
float  ymax,
float  zmin,
float  zmax 
)
virtual covise::coDoUniformGrid::~coDoUniformGrid ( )
inlinevirtual

Member Function Documentation

coDoUniformGrid * coDoUniformGrid::cloneObject ( const coObjInfo newinfo) const
protectedvirtual
void covise::coDoUniformGrid::getDelta ( float *  dx,
float *  dy,
float *  dz 
) const
inline
virtual void covise::coDoUniformGrid::getGridSize ( int *  x,
int *  y,
int *  z 
) const
inlinevirtual
void covise::coDoUniformGrid::getMinMax ( float *  xmin,
float *  xmax,
float *  ymin,
float *  ymax,
float *  zmin,
float *  zmax 
) const
inline
int coDoUniformGrid::getObjInfo ( int  no,
coDoInfo **  il 
) const
protectedvirtual

Reimplemented from covise::coDistributedObject.

virtual void covise::coDoUniformGrid::getPointCoordinates ( int  i,
float *  x_c,
int  j,
float *  y_c,
int  k,
float *  z_c 
) const
inlinevirtual
int coDoUniformGrid::interpolateField ( float *  v_interp,
const float *  point,
int *  cell,
int  no_arrays,
int  array_dim,
const float *const *  velo 
)
virtual
int coDoUniformGrid::rebuildFromShm ( )
protectedvirtual
void coDoUniformGrid::SwapMinMax ( int  dimension)

SwapMinMax changes min and max of x(0),y(1) or z(3) directions.

coDistributedObject * coDoUniformGrid::virtualCtor ( coShmArray arr)
staticprivate

Friends And Related Function Documentation

friend class coDoInitializer
friend

Member Data Documentation

coIntShm covise::coDoUniformGrid::x_disc
private
coFloatShm covise::coDoUniformGrid::x_max
private
coFloatShm covise::coDoUniformGrid::x_min
private
coIntShm covise::coDoUniformGrid::y_disc
private
coFloatShm covise::coDoUniformGrid::y_max
private
coFloatShm covise::coDoUniformGrid::y_min
private
coIntShm covise::coDoUniformGrid::z_disc
private
coFloatShm covise::coDoUniformGrid::z_max
private
coFloatShm covise::coDoUniformGrid::z_min
private

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