CG  Version 25
Public Types | Public Member Functions | Public Attributes | List of all members
DeformingGrid Class Reference

#include <DeformingGrid.h>

Public Types

enum  RemapType { hyperbolicRemap, lagrangianRemap, userDefinedRemap }
 

Public Member Functions

 DeformingGrid (int numberOfTimeLevels, GenericGraphicsInterface *pGIDebug00=NULL, int debug00=0)
 
 ~DeformingGrid ()
 
void getNewMapping (const real time0, HyperbolicMapping *&pNewMapping)
 
void getCurrentMap (real &time0, HyperbolicMapping *&pCurrentMapping)
 
void getTimeLevelMapPointer (const int offset, real &time0, HyperbolicMapping *&pMap)
 
void getCurrentGridArray (real &time0, realArray *&pCurrentGrid)
 
void getTimeLevelGridArrayPointer (const int offset, real &time0, realArray *&pGrid)
 
void regenerateGrid (HyperbolicMapping *pHyper, const int grid, CompositeGrid &cg)
 
void getVelocity (const real time0, const int grid, CompositeGrid &cg, realArray &gridVelocity)
 
void getAcceleration (const real time0, const int grid, CompositeGrid &cg, realArray &gridVelocity)
 
void computeGridVelocity (real vTime, real t0, realArray const &map0, real t1, realArray const &map1, real t2, realArray const &map2, realArray &gridVelocity, Index &I1, Index &I2, Index &I3)
 
void computeGridVelocity (real vTime, real t0, realArray const &map0, real t1, realArray const &map1, realArray &gridVelocity, Index &I1, Index &I2, Index &I3)
 
void computeGridAcceleration (real vTime, real t0, realArray const &map0, real t1, realArray const &map1, real t2, realArray const &map2, realArray &gridVelocity)
 
void computeGridAcceleration (real vTime, real t0, realArray const &map0, real t1, realArray const &map1, realArray &gridVelocity)
 
void getPastLevelGrid (const int grid00, CompositeGrid &cg, int iLevel, realArray &gridVelocity)
 
void simpleGetVelocity (const real vTime, const int grid00, CompositeGrid &cg, realArray &gridVelocity)
 
void simpleGetVelocityAndPoints (const real vTime, const int grid00, CompositeGrid &cg, realArray &gridVelocity, realArray &xpoints1, realArray &xpoints2)
 
void createMappingName (real time00, aString &newMappingName)
 

Public Attributes

int grid
 
RemapType remapType
 
int maximumNumberOfTimeLevels
 
int currentNumberOfTimeLevels
 
int iMostRecentTimeLevel
 
real * timeHistory
 
HyperbolicMapping * mappingHistoryList
 
realArray * gridHistoryList
 
int numberOfDimensions
 
int current
 
int numberOfSteps
 
int numberSaved
 
int maximumNumberToSave
 
RealArray time
 
const Range R
 
int numberOfTimeLevelsStored
 
int debug
 
GenericGraphicsInterface * pGIDebug
 
MappingInformation * pMapInfoDebug
 
int mappingSerialNumber
 

Member Enumeration Documentation

Enumerator
hyperbolicRemap 
lagrangianRemap 
userDefinedRemap 

Constructor & Destructor Documentation

DeformingGrid::DeformingGrid ( int  numberOfTimeLevels,
GenericGraphicsInterface *  pGIDebug00 = NULL,
int  debug00 = 0 
)
DeformingGrid::~DeformingGrid ( )

References mappingHistoryList, and timeHistory.

Member Function Documentation

void DeformingGrid::computeGridAcceleration ( real  vTime,
real  t0,
realArray const &  map0,
real  t1,
realArray const &  map1,
real  t2,
realArray const &  map2,
realArray &  gridVelocity 
)
void DeformingGrid::computeGridAcceleration ( real  vTime,
real  t0,
realArray const &  map0,
real  t1,
realArray const &  map1,
realArray &  gridVelocity 
)
void DeformingGrid::computeGridVelocity ( real  vTime,
real  t0,
realArray const &  map0,
real  t1,
realArray const &  map1,
real  t2,
realArray const &  map2,
realArray &  gridVelocity,
Index &  I1,
Index &  I2,
Index &  I3 
)

References all, bb, and debug.

Referenced by getVelocity().

void DeformingGrid::computeGridVelocity ( real  vTime,
real  t0,
realArray const &  map0,
real  t1,
realArray const &  map1,
realArray &  gridVelocity,
Index &  I1,
Index &  I2,
Index &  I3 
)

References all, and debug.

void DeformingGrid::createMappingName ( real  time00,
aString &  newMappingName 
)
void DeformingGrid::getAcceleration ( const real  time0,
const int  grid,
CompositeGrid &  cg,
realArray &  gridVelocity 
)
void DeformingGrid::getCurrentGridArray ( real &  time0,
realArray *&  pCurrentGrid 
)
void DeformingGrid::getCurrentMap ( real &  time0,
HyperbolicMapping *&  pCurrentMapping 
)
void DeformingGrid::getNewMapping ( const real  time0,
HyperbolicMapping *&  pNewMapping 
)
void DeformingGrid::getPastLevelGrid ( const int  grid00,
CompositeGrid &  cg,
int  iLevel,
realArray &  gridVelocity 
)

??? WHAT IS THIS??? **pf

References all, getIndex(), getTimeLevelMapPointer(), I1, I2, I3, and tz.

Referenced by DeformingBodyMotion::getPastLevelGrid().

void DeformingGrid::getTimeLevelGridArrayPointer ( const int  offset,
real &  time0,
realArray *&  pGrid 
)
void DeformingGrid::getTimeLevelMapPointer ( const int  offset,
real &  time0,
HyperbolicMapping *&  pMap 
)
void DeformingGrid::getVelocity ( const real  time0,
const int  grid,
CompositeGrid &  cg,
realArray &  gridVelocity 
)
void DeformingGrid::regenerateGrid ( HyperbolicMapping *  pHyper,
const int  grid,
CompositeGrid &  cg 
)

References assert().

void DeformingGrid::simpleGetVelocity ( const real  vTime,
const int  grid00,
CompositeGrid &  cg,
realArray &  gridVelocity 
)
void DeformingGrid::simpleGetVelocityAndPoints ( const real  vTime,
const int  grid00,
CompositeGrid &  cg,
realArray &  gridVelocity,
realArray &  xpoints1,
realArray &  xpoints2 
)

Member Data Documentation

int DeformingGrid::current
int DeformingGrid::currentNumberOfTimeLevels
int DeformingGrid::debug
int DeformingGrid::grid
realArray* DeformingGrid::gridHistoryList

Referenced by DeformingGrid().

int DeformingGrid::iMostRecentTimeLevel
HyperbolicMapping* DeformingGrid::mappingHistoryList
int DeformingGrid::mappingSerialNumber

Referenced by createMappingName(), and DeformingGrid().

int DeformingGrid::maximumNumberOfTimeLevels

Referenced by DeformingGrid(), and getNewMapping().

int DeformingGrid::maximumNumberToSave
int DeformingGrid::numberOfDimensions
int DeformingGrid::numberOfSteps
int DeformingGrid::numberOfTimeLevelsStored
int DeformingGrid::numberSaved
GenericGraphicsInterface* DeformingGrid::pGIDebug

Referenced by DeformingGrid().

MappingInformation* DeformingGrid::pMapInfoDebug

Referenced by DeformingGrid(), and getVelocity().

const Range DeformingGrid::R
RemapType DeformingGrid::remapType
RealArray DeformingGrid::time
real* DeformingGrid::timeHistory

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