Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Types | Private Member Functions | Static Private Member Functions | Private Attributes

Albany::Catalyst::GridImplementation Class Reference

#include <Albany_Catalyst_Grid.hpp>

Collaboration diagram for Albany::Catalyst::GridImplementation:
Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual void PrintSelf (ostream &os, vtkIndent indent)
 vtkTypeMacro (GridImplementation, vtkObject) bool SetDecorator(Decorator *decorator)
vtkIdType GetNumberOfCells ()
int GetCellType (vtkIdType cellId)
void GetCellPoints (vtkIdType cellId, vtkIdList *ptIds)
void GetPointCells (vtkIdType ptId, vtkIdList *cellIds)
int GetMaxCellSize ()
void GetIdsOfCellsOfType (int type, vtkIdTypeArray *array)
int IsHomogeneous ()
void Allocate (vtkIdType numCells, int extSize=1000)
vtkIdType InsertNextCell (int type, vtkIdList *ptIds)
vtkIdType InsertNextCell (int type, vtkIdType npts, vtkIdType *ptIds)
vtkIdType InsertNextCell (int type, vtkIdType npts, vtkIdType *ptIds, vtkIdType nfaces, vtkIdType *faces)
void ReplaceCell (vtkIdType cellId, int npts, vtkIdType *pts)

Static Public Member Functions

static GridImplementationNew ()

Protected Member Functions

 GridImplementation ()
 ~GridImplementation ()

Private Types

typedef Teuchos::ArrayRCP
< Teuchos::ArrayRCP
< Teuchos::ArrayRCP
< Teuchos::ArrayRCP< int > > > > 
WsElLid2NodeT

Private Member Functions

 GridImplementation (const GridImplementation &)
void operator= (const GridImplementation &)
void GetWorksetFromCellId (vtkIdType cellId, int &ws, int &lid)
VTKCellType GetCellTypeFromWorkset (int ws)

Static Private Member Functions

static VTKCellType TopologyToCellType (const CellTopologyData *ctd)
static vtkIdType GetCellSize (VTKCellType cellType)

Private Attributes

const DecoratorDiscretization
int DegreesOfFreedom
WsElLid2NodeT NodeLookup
const WsLIDListElementsWsLid
int ElementOffset
std::vector< const
CellTopologyData * > 
TopologyLookup
std::vector< VTKCellType > CellTypeLookup

Detailed Description

Definition at line 19 of file Albany_Catalyst_Grid.hpp.


Member Typedef Documentation

typedef Teuchos::ArrayRCP<Teuchos::ArrayRCP<Teuchos::ArrayRCP< Teuchos::ArrayRCP<int> > > > Albany::Catalyst::GridImplementation::WsElLid2NodeT [private]

Definition at line 60 of file Albany_Catalyst_Grid.hpp.


Constructor & Destructor Documentation

Albany::Catalyst::GridImplementation::GridImplementation (  )  [protected]
Albany::Catalyst::GridImplementation::~GridImplementation (  )  [protected]

Definition at line 37 of file Albany_Catalyst_Grid.cpp.

Albany::Catalyst::GridImplementation::GridImplementation ( const GridImplementation  )  [private]

Member Function Documentation

static GridImplementation* Albany::Catalyst::GridImplementation::New (  )  [static]
void Albany::Catalyst::GridImplementation::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]

Definition at line 41 of file Albany_Catalyst_Grid.cpp.

Albany::Catalyst::GridImplementation::vtkTypeMacro ( GridImplementation  ,
vtkObject   
)
vtkIdType Albany::Catalyst::GridImplementation::GetNumberOfCells (  ) 

Definition at line 91 of file Albany_Catalyst_Grid.cpp.

int Albany::Catalyst::GridImplementation::GetCellType ( vtkIdType  cellId  ) 

Definition at line 96 of file Albany_Catalyst_Grid.cpp.

void Albany::Catalyst::GridImplementation::GetCellPoints ( vtkIdType  cellId,
vtkIdList *  ptIds 
)

Definition at line 104 of file Albany_Catalyst_Grid.cpp.

void Albany::Catalyst::GridImplementation::GetPointCells ( vtkIdType  ptId,
vtkIdList *  cellIds 
)

Definition at line 144 of file Albany_Catalyst_Grid.cpp.

int Albany::Catalyst::GridImplementation::GetMaxCellSize (  ) 

Definition at line 180 of file Albany_Catalyst_Grid.cpp.

void Albany::Catalyst::GridImplementation::GetIdsOfCellsOfType ( int  type,
vtkIdTypeArray *  array 
)

Definition at line 189 of file Albany_Catalyst_Grid.cpp.

int Albany::Catalyst::GridImplementation::IsHomogeneous (  ) 

Definition at line 231 of file Albany_Catalyst_Grid.cpp.

void Albany::Catalyst::GridImplementation::Allocate ( vtkIdType  numCells,
int  extSize = 1000 
)

Definition at line 246 of file Albany_Catalyst_Grid.cpp.

vtkIdType Albany::Catalyst::GridImplementation::InsertNextCell ( int  type,
vtkIdList *  ptIds 
)

Definition at line 252 of file Albany_Catalyst_Grid.cpp.

vtkIdType Albany::Catalyst::GridImplementation::InsertNextCell ( int  type,
vtkIdType  npts,
vtkIdType *  ptIds 
)

Definition at line 259 of file Albany_Catalyst_Grid.cpp.

vtkIdType Albany::Catalyst::GridImplementation::InsertNextCell ( int  type,
vtkIdType  npts,
vtkIdType *  ptIds,
vtkIdType  nfaces,
vtkIdType *  faces 
)

Definition at line 266 of file Albany_Catalyst_Grid.cpp.

void Albany::Catalyst::GridImplementation::ReplaceCell ( vtkIdType  cellId,
int  npts,
vtkIdType *  pts 
)

Definition at line 274 of file Albany_Catalyst_Grid.cpp.

void Albany::Catalyst::GridImplementation::operator= ( const GridImplementation  )  [private]
VTKCellType Albany::Catalyst::GridImplementation::TopologyToCellType ( const CellTopologyData *  ctd  )  [inline, static, private]

Todo:
this only covers linear cells for the moment. If adding more, verify that the vertex specs are the same in VTK/shards, and update GetCellPoints appropriately.

Definition at line 280 of file Albany_Catalyst_Grid.cpp.

vtkIdType Albany::Catalyst::GridImplementation::GetCellSize ( VTKCellType  cellType  )  [inline, static, private]

Definition at line 309 of file Albany_Catalyst_Grid.cpp.

void Albany::Catalyst::GridImplementation::GetWorksetFromCellId ( vtkIdType  cellId,
int &  ws,
int &  lid 
) [inline, private]

Definition at line 336 of file Albany_Catalyst_Grid.cpp.

VTKCellType Albany::Catalyst::GridImplementation::GetCellTypeFromWorkset ( int  ws  )  [private]

Definition at line 352 of file Albany_Catalyst_Grid.cpp.


Member Data Documentation

Definition at line 54 of file Albany_Catalyst_Grid.hpp.

Definition at line 56 of file Albany_Catalyst_Grid.hpp.

Definition at line 61 of file Albany_Catalyst_Grid.hpp.

Definition at line 64 of file Albany_Catalyst_Grid.hpp.

Definition at line 67 of file Albany_Catalyst_Grid.hpp.

std::vector<const CellTopologyData *> Albany::Catalyst::GridImplementation::TopologyLookup [private]

Definition at line 70 of file Albany_Catalyst_Grid.hpp.

std::vector<VTKCellType> Albany::Catalyst::GridImplementation::CellTypeLookup [private]

Definition at line 71 of file Albany_Catalyst_Grid.hpp.


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