MyCell Class Reference

A representation of a finite element cell. This is not a realistic element, but is meant to represent what an element would act like (the actual basis functions values and node coordinates are fake). More...

#include <Cell.hpp>

Collaboration diagram for MyCell:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 MyCell ()
virtual ~MyCell ()
std::vector< MyVector< double > > & getNodeCoordinates ()
std::vector< std::vector
< double > > & 
getBasisFunctions ()
std::vector< std::vector
< MyVector< double > > > & 
getBasisFunctionGradients ()
std::size_t localIndex ()
void setLocalIndex (std::size_t index)
 MyCell ()
virtual ~MyCell ()
PHX::Array< double,
PHX::NaturalOrder, Node, Dim > & 
getNodeCoordinates ()
PHX::Array< double,
PHX::NaturalOrder, QuadPoint,
Node > & 
getBasisFunctions ()
PHX::Array< double,
PHX::NaturalOrder, QuadPoint,
Node, Dim > & 
getBasisFunctionGradients ()
std::size_t localIndex ()
void setLocalIndex (std::size_t index)

Private Attributes

std::size_t local_index_
std::vector< MyVector< double > > coords_
std::vector< std::vector
< double > > 
phi_
std::vector< std::vector
< MyVector< double > > > 
grad_phi_
Teuchos::ArrayRCP< double > m_coords_mem
Teuchos::ArrayRCP< double > m_phi_mem
Teuchos::ArrayRCP< double > m_grad_phi_mem
PHX::Array< double,
PHX::NaturalOrder, Node, Dim
m_coords
PHX::Array< double,
PHX::NaturalOrder, QuadPoint,
Node
m_phi
PHX::Array< double,
PHX::NaturalOrder, QuadPoint,
Node, Dim
m_grad_phi


Detailed Description

A representation of a finite element cell. This is not a realistic element, but is meant to represent what an element would act like (the actual basis functions values and node coordinates are fake).

Constructor & Destructor Documentation

MyCell::MyCell (  ) 

References grad_phi_, and phi_.

virtual MyCell::~MyCell (  )  [inline, virtual]

MyCell::MyCell (  ) 

virtual MyCell::~MyCell (  )  [inline, virtual]


Member Function Documentation

PHX::Array<double,PHX::NaturalOrder,QuadPoint,Node,Dim>& MyCell::getBasisFunctionGradients (  ) 

PHX::Array< double, PHX::NaturalOrder, QuadPoint, Node, Dim > & MyCell::getBasisFunctionGradients (  ) 

References grad_phi_.

PHX::Array<double,PHX::NaturalOrder,QuadPoint,Node>& MyCell::getBasisFunctions (  ) 

PHX::Array< double, PHX::NaturalOrder, QuadPoint, Node > & MyCell::getBasisFunctions (  ) 

References phi_.

PHX::Array<double,PHX::NaturalOrder,Node,Dim>& MyCell::getNodeCoordinates (  ) 

PHX::Array< double, PHX::NaturalOrder, Node, Dim > & MyCell::getNodeCoordinates (  ) 

References coords_.

std::size_t MyCell::localIndex (  ) 

std::size_t MyCell::localIndex (  ) 

References local_index_.

void MyCell::setLocalIndex ( std::size_t  index  ) 

void MyCell::setLocalIndex ( std::size_t  index  ) 

References local_index_.


Member Data Documentation

std::vector< MyVector<double> > MyCell::coords_ [private]

Referenced by getNodeCoordinates().

std::vector< std::vector< MyVector<double> > > MyCell::grad_phi_ [private]

std::size_t MyCell::local_index_ [private]

Referenced by localIndex(), and setLocalIndex().

PHX::Array<double,PHX::NaturalOrder,Node,Dim> MyCell::m_coords [private]

Teuchos::ArrayRCP<double> MyCell::m_coords_mem [private]

PHX::Array<double,PHX::NaturalOrder,QuadPoint,Node,Dim> MyCell::m_grad_phi [private]

Teuchos::ArrayRCP<double> MyCell::m_grad_phi_mem [private]

PHX::Array<double,PHX::NaturalOrder,QuadPoint,Node> MyCell::m_phi [private]

Teuchos::ArrayRCP<double> MyCell::m_phi_mem [private]

std::vector< std::vector<double> > MyCell::phi_ [private]

Referenced by getBasisFunctions(), and MyCell().


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

Generated on Thu Dec 17 11:05:59 2009 for Phalanx by  doxygen 1.5.9