Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Examples  

Sundance::ReferenceCell Class Reference

#include <ReferenceCell.h>

List of all members.

Public Methods

introspection
faceting methods
mappings and jacobians
compute diameter of cell
compute outward normal of cell

Static Public Methods

memory management

Private Attributes

Static Private Attributes


Detailed Description

A ReferenceCell contains the data and methods that are common to all cells of a given geometry type. The ReferenceCell class itself is a handle to a ReferenceCellBase, from which geometry-specific subtypes are derived. ReferenceCell provides several types of service: mapping between physical and reference coordinates, and identification of facets

Definition at line 35 of file ReferenceCell.h.


Constructor & Destructor Documentation

Sundance::ReferenceCell::ReferenceCell   [inline]
 

Definition at line 39 of file ReferenceCell.h.

References ptr_.

Sundance::ReferenceCell::ReferenceCell ReferenceCellBase   ptr [inline]
 

Definition at line 41 of file ReferenceCell.h.

References ptr_.


Member Function Documentation

const string& Sundance::ReferenceCell::typeName   const [inline]
 

Definition at line 47 of file ReferenceCell.h.

References ptr_.

CellTopologyCode Sundance::ReferenceCell::topologyCode   const [inline]
 

Definition at line 49 of file ReferenceCell.h.

References ptr_.

bool Sundance::ReferenceCell::isAffine   const [inline]
 

Affine cells have constant Jacobians so we can do simpler calculations in that case.

Definition at line 53 of file ReferenceCell.h.

References ptr_.

int Sundance::ReferenceCell::dim   const [inline]
 

Definition at line 56 of file ReferenceCell.h.

References ptr_.

Referenced by Sundance::MaximalCell::dim().

int Sundance::ReferenceCell::numNodes   const [inline]
 

Definition at line 58 of file ReferenceCell.h.

References ptr_.

int Sundance::ReferenceCell::numVertices   const [inline]
 

Definition at line 60 of file ReferenceCell.h.

References ptr_.

Referenced by Sundance::MaximalCell::numVertices().

int Sundance::ReferenceCell::numFacets int    d const [inline]
 

Definition at line 62 of file ReferenceCell.h.

References ptr_.

const TSFArray<TSFArray<int> >& Sundance::ReferenceCell::facetNodePtrs int    facetDim const [inline]
 

They are organized as facetNodes[facetNumber][nodeNumber]. The pointers are indices into a cell's local array of nodes.

Definition at line 73 of file ReferenceCell.h.

References ptr_.

const TSFArray<TSFArray<int> >& Sundance::ReferenceCell::facetFacetPtrs int    d,
int    facetNum
const [inline]
 

Definition at line 78 of file ReferenceCell.h.

References ptr_.

const ReferenceCell& Sundance::ReferenceCell::facetReferenceCell int    facetDim,
int    facetNumber
const [inline]
 

Definition at line 82 of file ReferenceCell.h.

References ptr_.

FacetSetBase* Sundance::ReferenceCell::newFacetSet   const [inline]
 

Definition at line 87 of file ReferenceCell.h.

References ptr_.

void Sundance::ReferenceCell::jacobian const Cell   cell,
const TSFArray< Point > &    refpts,
TSFArray< CellJacobian > &    J
const
 

void Sundance::ReferenceCell::detJacobian const Cell   cell,
const TSFArray< Point > &    refpts,
TSFArray< double > &    detJ
const
 

void Sundance::ReferenceCell::constantJacobian const Cell   cell,
CellJacobian   J
const
 

void Sundance::ReferenceCell::constantDetJacobian const Cell   cell,
double &    detJ
const
 

void Sundance::ReferenceCell::pushFwd const Cell   cell,
const TSFArray< Point > &    ref,
TSFArray< Point > &    phys
const
 

double Sundance::ReferenceCell::diameter const Cell   cell const
 

Point Sundance::ReferenceCell::normal const Cell   cell const
 

void * Sundance::ReferenceCell::operator new size_t    s [inline, static]
 

Definition at line 138 of file ReferenceCell.h.

References Sundance::Pool::alloc(), and memPool_.

void Sundance::ReferenceCell::operator delete void *    p [inline, static]
 

Definition at line 147 of file ReferenceCell.h.

References Sundance::Pool::free(), and memPool_.


Member Data Documentation

TSFSmartPtr<ReferenceCellBase> Sundance::ReferenceCell::ptr_ [private]
 

Definition at line 133 of file ReferenceCell.h.

Referenced by dim(), facetFacetPtrs(), facetNodePtrs(), facetReferenceCell(), isAffine(), newFacetSet(), numFacets(), numNodes(), numVertices(), ReferenceCell(), topologyCode(), and typeName().

Pool Sundance::ReferenceCell::memPool_ [static, private]
 

Definition at line 135 of file ReferenceCell.h.

Referenced by operator delete(), and operator new().


The documentation for this class was generated from the following file:
Contact:
Kevin Long (krlong@ca.sandia.gov)


Documentation generated by