DataTransferKit - Multiphysics Solution Transfer Services
2.0
|
Manager for Intrepid cell-level operations on cell sides. More...
#include <DTK_IntrepidSideCell.hpp>
Public Types | |
typedef IntrepidCell | Base |
Typedefs. More... | |
Public Types inherited from DataTransferKit::IntrepidCell | |
typedef double | Scalar |
Typedefs. More... | |
Public Member Functions | |
IntrepidSideCell (const shards::CellTopology &side_topology, const unsigned side_id, const shards::CellTopology &parent_topology, const unsigned degree) | |
Constructor. More... | |
void | updateCellState () |
Update the cell state of the object for the current cell node coordinates. More... | |
void | mapToCellPhysicalFrame (const MDArray ¶metric_coords, MDArray &physical_coords) |
Given a set of coordinates in the reference frame of the cell, map them to the physical frame. More... | |
void | getPhysicalSideNormalsAtIntegrationPoints (MDArray &side_normals) |
Compute the physical normals of the side. More... | |
void | getPhysicalSideNormalsAtReferencePoint (const MDArray ¶metric_coords, MDArray &side_normals) |
Compute the physical normals of the side at a given reference point. More... | |
Public Member Functions inherited from DataTransferKit::IntrepidCell | |
IntrepidCell (const shards::CellTopology &cell_topology, const unsigned degree) | |
Constructor. More... | |
virtual | ~IntrepidCell () |
Destructor. More... | |
void | setCellNodeCoordinates (const MDArray &cell_node_coords) |
Given physical coordinates for the cell nodes (Cell,Node,Dim), assign them to the cell without allocating internal data. More... | |
void | allocateCellState (const MDArray &cell_node_coords) |
Given physical coordinates for the cell nodes (Cell,Node,Dim), allocate the state of the cell object. More... | |
void | mapToCellReferenceFrame (const MDArray &physical_coords, MDArray &reference_coords) |
Given a set of coordinates in the physical frame of the cell, map them to the reference frame of the cell. More... | |
bool | pointInReferenceCell (const MDArray &reference_point, const double tolerance) |
Determine if a point given in parametric coordinates is inside of the reference cell. More... | |
bool | pointInPhysicalCell (const MDArray &point, const double tolerance) |
Determine if a point given in physical coordinates is inside of the phyiscal cell. More... | |
int | getNumCells () const |
Get the number of cells in the current state. More... | |
int | getNumIntegrationPoints () const |
Get the number of cell points. More... | |
int | getSpatialDimension () const |
Get the spatial dimension. More... | |
void | getCellMeasures (MDArray &cell_measures) const |
Get the cell measures (Cell). cell_measures must all ready be allocated. More... | |
void | integrate (const MDArray &dofs, MDArray &integrals) const |
Given DOFs at the quadrature points {(Cell,Node) for scalar fields, (Cell,Node,VecDim) for vector fields, and (Cell,Node,TensDim1,TensDim2) for tensor fields.} perform the numerical integration in each cell by contracting them with the weighted measures. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from DataTransferKit::IntrepidCell | |
static void | updateState (IntrepidCell &Intrepid_cell, const MDArray &cell_node_coords) |
Free function for updating the cell state for a new set of physical cells in a single call. More... | |
Manager for Intrepid cell-level operations on cell sides.
Definition at line 58 of file DTK_IntrepidSideCell.hpp.
Typedefs.
Definition at line 63 of file DTK_IntrepidSideCell.hpp.
DataTransferKit::IntrepidSideCell::IntrepidSideCell | ( | const shards::CellTopology & | side_topology, |
const unsigned | side_id, | ||
const shards::CellTopology & | parent_topology, | ||
const unsigned | degree | ||
) |
Constructor.
Definition at line 56 of file DTK_IntrepidSideCell.cpp.
|
virtual |
Update the cell state of the object for the current cell node coordinates.
Reimplemented from DataTransferKit::IntrepidCell.
Definition at line 78 of file DTK_IntrepidSideCell.cpp.
|
virtual |
Given a set of coordinates in the reference frame of the cell, map them to the physical frame.
Reimplemented from DataTransferKit::IntrepidCell.
Definition at line 124 of file DTK_IntrepidSideCell.cpp.
void DataTransferKit::IntrepidSideCell::getPhysicalSideNormalsAtIntegrationPoints | ( | MDArray & | side_normals | ) |
Compute the physical normals of the side.
Definition at line 154 of file DTK_IntrepidSideCell.cpp.
void DataTransferKit::IntrepidSideCell::getPhysicalSideNormalsAtReferencePoint | ( | const MDArray & | parametric_coords, |
MDArray & | side_normals | ||
) |
Compute the physical normals of the side at a given reference point.
Definition at line 167 of file DTK_IntrepidSideCell.cpp.