Intrepid2
Classes | Public Types | Public Member Functions | Protected Attributes | List of all members
Intrepid2::CubatureControlVolumeSide< ExecSpaceType, pointValueType, weightValueType > Class Template Reference

Defines cubature (integration) rules over control volumes. More...

#include <Intrepid2_CubatureControlVolumeSide.hpp>

Inheritance diagram for Intrepid2::CubatureControlVolumeSide< ExecSpaceType, pointValueType, weightValueType >:
Intrepid2::Cubature< ExecSpaceType, pointValueType, weightValueType >

Classes

struct  Functor
 

Public Types

typedef Cubature
< ExecSpaceType,
pointValueType,
weightValueType >
::PointViewType 
PointViewType
 
typedef Cubature
< ExecSpaceType,
pointValueType,
weightValueType >
::weightViewType 
weightViewType
 
- Public Types inherited from Intrepid2::Cubature< ExecSpaceType, pointValueType, weightValueType >
typedef Kokkos::DynRankView
< pointValueType,
Kokkos::LayoutStride,
ExecSpaceType > 
PointViewType
 
typedef Kokkos::DynRankView
< weightValueType,
Kokkos::LayoutStride,
ExecSpaceType > 
weightViewType
 

Public Member Functions

virtual void getCubature (PointViewType cubPoints, weightViewType cubWeights, PointViewType cellCoords) const
 Returns cubature points and weights (return arrays must be pre-sized/pre-allocated). More...
 
virtual ordinal_type getNumPoints () const
 Returns the number of cubature points.
 
virtual ordinal_type getDimension () const
 Returns dimension of integration domain.
 
virtual const char * getName () const
 Returns cubature name.
 
 CubatureControlVolumeSide (const shards::CellTopology cellTopology)
 
- Public Member Functions inherited from Intrepid2::Cubature< ExecSpaceType, pointValueType, weightValueType >
virtual void getCubature (PointViewType, weightViewType) const
 Returns cubature points and weights (return arrays must be pre-sized/pre-allocated). More...
 
virtual ordinal_type getAccuracy () const
 Returns dimension of the integration domain.
 

Protected Attributes

shards::CellTopology primaryCellTopo_
 The topology of the primary cell.
 
shards::CellTopology subcvCellTopo_
 The topology of the sub-control volume.
 
ordinal_type degree_
 The degree of the polynomials that are integrated exactly.
 
Kokkos::View< ordinal_type
**, Kokkos::LayoutRight,
ExecSpaceType > 
sideNodeMap_
 
Kokkos::DynRankView
< pointValueType,
ExecSpaceType > 
sidePoints_
 

Detailed Description

template<typename ExecSpaceType = void, typename pointValueType = double, typename weightValueType = double>
class Intrepid2::CubatureControlVolumeSide< ExecSpaceType, pointValueType, weightValueType >

Defines cubature (integration) rules over control volumes.

Definition at line 66 of file Intrepid2_CubatureControlVolumeSide.hpp.

Constructor & Destructor Documentation

template<typename SpT , typename PT , typename WT >
Intrepid2::CubatureControlVolumeSide< SpT, PT, WT >::CubatureControlVolumeSide ( const shards::CellTopology  cellTopology)

brief Constructor.

Parameters
cellTopology[in] - The topology of the primary cell.

Definition at line 56 of file Intrepid2_CubatureControlVolumeSideDef.hpp.

References Intrepid2::CellTools< ExecSpaceType >::mapToReferenceSubcell().

Member Function Documentation

template<typename SpT , typename PT , typename WT >
void Intrepid2::CubatureControlVolumeSide< SpT, PT, WT >::getCubature ( PointViewType  cubPoints,
weightViewType  cubWeights,
PointViewType  cellCoords 
) const
virtual

Returns cubature points and weights (return arrays must be pre-sized/pre-allocated).

Parameters
cubPoints[out] - Array containing the cubature points.
cubWeights[out] - Array of corresponding cubature weights.
cellCoords[in] - Array of cell coordinates

Reimplemented from Intrepid2::Cubature< ExecSpaceType, pointValueType, weightValueType >.

Definition at line 112 of file Intrepid2_CubatureControlVolumeSideDef.hpp.

References Intrepid2::CellTools< ExecSpaceType >::getPhysicalSideNormals(), Intrepid2::CellTools< ExecSpaceType >::getSubcvCoords(), and Intrepid2::CellTools< ExecSpaceType >::setJacobian().


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