Intrepid2
Classes | Functions
Intrepid2_CellTools.hpp File Reference

Header file for the Intrepid2::CellTools class. More...

#include "Intrepid2_ConfigDefs.hpp"
#include "Shards_CellTopology.hpp"
#include "Shards_BasicTopologies.hpp"
#include "Teuchos_RCP.hpp"
#include "Intrepid2_Types.hpp"
#include "Intrepid2_Utils.hpp"
#include "Intrepid2_RealSpaceTools.hpp"
#include "Intrepid2_Basis.hpp"
#include "Intrepid2_HGRAD_LINE_C1_FEM.hpp"
#include "Intrepid2_HGRAD_QUAD_C1_FEM.hpp"
#include "Intrepid2_HGRAD_HEX_C1_FEM.hpp"
#include "Intrepid2_HGRAD_TRI_C1_FEM.hpp"
#include "Intrepid2_HGRAD_TET_C1_FEM.hpp"
#include "Intrepid2_HGRAD_WEDGE_C1_FEM.hpp"
#include "Intrepid2_HGRAD_PYR_C1_FEM.hpp"
#include "Intrepid2_HGRAD_QUAD_C2_FEM.hpp"
#include "Intrepid2_HGRAD_HEX_C2_FEM.hpp"
#include "Intrepid2_HGRAD_TRI_C2_FEM.hpp"
#include "Intrepid2_HGRAD_TET_C2_FEM.hpp"
#include "Intrepid2_HGRAD_TET_COMP12_FEM.hpp"
#include "Intrepid2_HGRAD_WEDGE_C2_FEM.hpp"
#include "Intrepid2_CellToolsDocumentation.hpp"
#include "Intrepid2_CellToolsDefValidateArguments.hpp"
#include "Intrepid2_CellToolsDefNodeInfo.hpp"
#include "Intrepid2_CellToolsDefParametrization.hpp"
#include "Intrepid2_CellToolsDefJacobian.hpp"
#include "Intrepid2_CellToolsDefRefToPhys.hpp"
#include "Intrepid2_CellToolsDefPhysToRef.hpp"
#include "Intrepid2_CellToolsDefControlVolume.hpp"
#include "Intrepid2_CellToolsDefInclusion.hpp"

Go to the source code of this file.

Classes

class  Intrepid2::CellTools< ExecSpaceType >
 A stateless class for operations on cell data. Provides methods for: More...
 
struct  Intrepid2::CellTools< ExecSpaceType >::ReferenceNodeDataStatic
 Reference node containers for each supported topology. More...
 
struct  Intrepid2::CellTools< ExecSpaceType >::ReferenceNodeData
 Reference node data for each supported topology. More...
 
struct  Intrepid2::CellTools< ExecSpaceType >::SubcellParamData
 Parametrization coefficients of edges and faces of reference cells. More...
 

Functions

template<typename jacobianViewType , typename PointViewType , typename worksetCellViewType >
static void Intrepid2::CellTools_setJacobianArgs (const jacobianViewType jacobian, const PointViewType points, const worksetCellViewType worksetCell, const shards::CellTopology cellTopo)
 Validates arguments to Intrepid2::CellTools::setJacobian. More...
 
template<typename jacobianInvViewType , typename jacobianViewType >
static void Intrepid2::CellTools_setJacobianInvArgs (const jacobianInvViewType jacobianInv, const jacobianViewType jacobian)
 Validates arguments to Intrepid2::CellTools::setJacobianInv. More...
 
template<typename jacobianDetViewType , typename jacobianViewType >
static void Intrepid2::CellTools_setJacobianDetArgs (const jacobianDetViewType jacobianDet, const jacobianViewType jacobian)
 Validates arguments to Intrepid2::CellTools::setJacobianDet. More...
 
template<typename physPointViewType , typename refPointViewType , typename worksetCellViewType >
static void Intrepid2::CellTools_mapToPhysicalFrameArgs (const physPointViewType physPoints, const refPointViewType refPoints, const worksetCellViewType worksetCell, const shards::CellTopology cellTopo)
 Validates arguments to Intrepid2::CellTools::mapToPhysicalFrame. More...
 
template<typename refPointViewType , typename physPointViewType , typename worksetCellViewType >
static void Intrepid2::CellTools_mapToReferenceFrameArgs (const refPointViewType refPoints, const physPointViewType physPoints, const worksetCellViewType worksetCell, const shards::CellTopology cellTopo)
 Validates arguments to Intrepid2::CellTools::mapToReferenceFrame with default initial guess. More...
 
template<typename refPointViewType , typename initGuessViewType , typename physPointViewType , typename worksetCellViewType >
static void Intrepid2::CellTools_mapToReferenceFrameInitGuess (const refPointViewType refPoints, const initGuessViewType initGuess, const physPointViewType physPoints, const worksetCellViewType worksetCell, const shards::CellTopology cellTopo)
 Validates arguments to Intrepid2::CellTools::mapToReferenceFrame with user-defined initial guess. More...
 

Detailed Description

Header file for the Intrepid2::CellTools class.

Author
Created by P. Bochev and D. Ridzal. Kokkorized by Kyungjoo Kim

Definition in file Intrepid2_CellTools.hpp.

Function Documentation

◆ CellTools_mapToPhysicalFrameArgs()

template<typename physPointViewType , typename refPointViewType , typename worksetCellViewType >
static void Intrepid2::CellTools_mapToPhysicalFrameArgs ( const physPointViewType  physPoints,
const refPointViewType  refPoints,
const worksetCellViewType  worksetCell,
const shards::CellTopology  cellTopo 
)
static

Validates arguments to Intrepid2::CellTools::mapToPhysicalFrame.

Parameters
physPoints[in] - rank-3 (C,P,D) array array required
refPoints[in] - rank-3 (C,P,D) array or rank-2 (P,D) array required
cellWorkset[in] - rank-3 (C,N,D) array required
cellTopo[in] - cell topology with a reference cell required

Definition at line 215 of file Intrepid2_CellToolsDefValidateArguments.hpp.

References Intrepid2::CellTools_mapToPhysicalFrameArgs().

Referenced by Intrepid2::CellTools_mapToPhysicalFrameArgs(), and Intrepid2::CellTools< ExecSpaceType >::mapToPhysicalFrame().

◆ CellTools_mapToReferenceFrameArgs()

template<typename refPointViewType , typename physPointViewType , typename worksetCellViewType >
static void Intrepid2::CellTools_mapToReferenceFrameArgs ( const refPointViewType  refPoints,
const physPointViewType  physPoints,
const worksetCellViewType  worksetCell,
const shards::CellTopology  cellTopo 
)
static

Validates arguments to Intrepid2::CellTools::mapToReferenceFrame with default initial guess.

Parameters
physPoints[in] - rank-3 (C,P,D) array required
refPoints[in] - rank-3 (C,P,D) array or rank-2 (P,D) array required
cellWorkset[in] - rank-3 (C,N,D) array required
cellTopo[in] - cell topology with a reference cell required

Definition at line 284 of file Intrepid2_CellToolsDefValidateArguments.hpp.

References Intrepid2::CellTools_mapToReferenceFrameArgs().

Referenced by Intrepid2::CellTools_mapToReferenceFrameArgs(), and Intrepid2::CellTools< ExecSpaceType >::mapToReferenceFrame().

◆ CellTools_mapToReferenceFrameInitGuess()

template<typename refPointViewType , typename initGuessViewType , typename physPointViewType , typename worksetCellViewType >
static void Intrepid2::CellTools_mapToReferenceFrameInitGuess ( const refPointViewType  refPoints,
const initGuessViewType  initGuess,
const physPointViewType  physPoints,
const worksetCellViewType  worksetCell,
const shards::CellTopology  cellTopo 
)
static

Validates arguments to Intrepid2::CellTools::mapToReferenceFrame with user-defined initial guess.

Parameters
physPoints[in] - rank-3 (C,P,D) array required
initGuess[in] - rank and dimensions must match those of physPoints
refPoints[in] - rank-3 (C,P,D) array required
cellWorkset[in] - rank-3 (C,N,D) array required
cellTopo[in] - cell topology with a reference cell required

◆ CellTools_setJacobianArgs()

template<typename jacobianViewType , typename PointViewType , typename worksetCellViewType >
static void Intrepid2::CellTools_setJacobianArgs ( const jacobianViewType  jacobian,
const PointViewType  points,
const worksetCellViewType  worksetCell,
const shards::CellTopology  cellTopo 
)
static

Validates arguments to Intrepid2::CellTools::setJacobian.

Parameters
jacobian[in] - rank-4 (C,P,D,D) array array required
points[in] - rank-2 (P,D) or rank-3 (C,P,D) array required
cellWorkset[in] - rank-3 (C,N,D) array required
cellTopo[in] - cell topology with a reference cell required

Definition at line 69 of file Intrepid2_CellToolsDefValidateArguments.hpp.

References Intrepid2::CellTools_setJacobianArgs().

Referenced by Intrepid2::CellTools_setJacobianArgs(), and Intrepid2::CellTools< ExecSpaceType >::setJacobian().

◆ CellTools_setJacobianDetArgs()

template<typename jacobianDetViewType , typename jacobianViewType >
static void Intrepid2::CellTools_setJacobianDetArgs ( const jacobianDetViewType  jacobianDet,
const jacobianViewType  jacobian 
)
static

Validates arguments to Intrepid2::CellTools::setJacobianDet.

Parameters
jacobianDet[in] - rank = (jacobian rank - 2) required
jacobian[in] - rank-4 (C,P,D,D) array required

Definition at line 179 of file Intrepid2_CellToolsDefValidateArguments.hpp.

References Intrepid2::CellTools_setJacobianDetArgs().

Referenced by Intrepid2::CellTools_setJacobianDetArgs(), and Intrepid2::CellTools< ExecSpaceType >::setJacobianDet().

◆ CellTools_setJacobianInvArgs()

template<typename jacobianInvViewType , typename jacobianViewType >
static void Intrepid2::CellTools_setJacobianInvArgs ( const jacobianInvViewType  jacobianInv,
const jacobianViewType  jacobian 
)
static

Validates arguments to Intrepid2::CellTools::setJacobianInv.

Parameters
jacobianInv[in] - rank and dimensions must match jacobian array
jacobian[in] - rank-4 (C,P,D,D) array required

Definition at line 147 of file Intrepid2_CellToolsDefValidateArguments.hpp.

References Intrepid2::CellTools_setJacobianInvArgs().

Referenced by Intrepid2::CellTools_setJacobianInvArgs(), and Intrepid2::CellTools< ExecSpaceType >::setJacobianInv().