Public Member Functions | Static Protected Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes
Sundance::ReducedIntegral Class Reference
Inheritance diagram for Sundance::ReducedIntegral:
Sundance::ElementIntegral

List of all members.

Public Member Functions

 ReducedIntegral (int spatialDim, const CellType &maxCellType, int dim, const CellType &cellType, const QuadratureFamily &quad, bool isInternalBdry, const ParametrizedCurve &globalCurve, const Mesh &mesh, int verb)
 ReducedIntegral (int spatialDim, const CellType &maxCellType, int dim, const CellType &cellType, const BasisFamily &testBasis, int alpha, int testDerivOrder, const QuadratureFamily &quad, bool isInternalBdry, const ParametrizedCurve &globalCurve, const Mesh &mesh, int verb)
 ReducedIntegral (int spatialDim, const CellType &maxCellType, int dim, const CellType &cellType, const BasisFamily &testBasis, int alpha, int testDerivOrder, const BasisFamily &unkBasis, int beta, int unkDerivOrder, const QuadratureFamily &quad, bool isInternalBdry, const ParametrizedCurve &globalCurve, const Mesh &mesh, int verb)
virtual ~ReducedIntegral ()
void transform (const CellJacobianBatch &JTrans, const CellJacobianBatch &JVol, const Array< int > &isLocalFlag, const Array< int > &facetNum, const RCP< Array< int > > &cellLIDs, const double *const coeffs, RCP< Array< double > > &A) const
virtual void transformZeroForm (const CellJacobianBatch &JTrans, const CellJacobianBatch &JVol, const Array< int > &isLocalFlag, const Array< int > &facetIndex, const RCP< Array< int > > &cellLIDs, const double *const coeffs, RCP< Array< double > > &A) const
virtual void transformTwoForm (const CellJacobianBatch &JTrans, const CellJacobianBatch &JVol, const Array< int > &facetIndex, const RCP< Array< int > > &cellLIDs, const double *const coeffs, RCP< Array< double > > &A) const
void transformOneForm (const CellJacobianBatch &JTrans, const CellJacobianBatch &JVol, const Array< int > &facetIndex, const RCP< Array< int > > &cellLIDs, const double *const coeffs, RCP< Array< double > > &A) const

Static Protected Member Functions

static void addFlops (const double &flops)

Private Member Functions

double & value (int facetCase, int testDerivDir, int testNode, int unkDerivDir, int unkNode)
const double & value (int facetCase, int testDerivDir, int testNode, int unkDerivDir, int unkNode) const
double & value (int facetCase, int testDerivDir, int testNode)
const double & value (int facetCase, int testDerivDir, int testNode) const

Static Private Member Functions

static double & totalFlops ()

Private Attributes

Array< Array< double > > W_

Detailed Description

Definition at line 56 of file SundanceReducedIntegral.hpp.


Constructor & Destructor Documentation

ReducedIntegral::ReducedIntegral ( int  spatialDim,
const CellType &  maxCellType,
int  dim,
const CellType &  cellType,
const QuadratureFamily &  quad,
bool  isInternalBdry,
const ParametrizedCurve &  globalCurve,
const Mesh &  mesh,
int  verb 
)

Construct a zero-form to be computed by reference integration with coefficients that are piecewise constant

Definition at line 94 of file SundanceReducedIntegral.cpp.

References Sundance::ElementIntegral::describe(), Sundance::QuadratureFamily::getPoints(), Playa::Out::os(), Sundance::ElementIntegral::setupVerb(), SUNDANCE_MSG1, and W_.

ReducedIntegral::ReducedIntegral ( int  spatialDim,
const CellType &  maxCellType,
int  dim,
const CellType &  cellType,
const BasisFamily &  testBasis,
int  alpha,
int  testDerivOrder,
const QuadratureFamily &  quad,
bool  isInternalBdry,
const ParametrizedCurve &  globalCurve,
const Mesh &  mesh,
int  verb 
)
ReducedIntegral::ReducedIntegral ( int  spatialDim,
const CellType &  maxCellType,
int  dim,
const CellType &  cellType,
const BasisFamily &  testBasis,
int  alpha,
int  testDerivOrder,
const BasisFamily &  unkBasis,
int  beta,
int  unkDerivOrder,
const QuadratureFamily &  quad,
bool  isInternalBdry,
const ParametrizedCurve &  globalCurve,
const Mesh &  mesh,
int  verb 
)
virtual Sundance::ReducedIntegral::~ReducedIntegral ( ) [inline, virtual]

virtual dtor

Definition at line 105 of file SundanceReducedIntegral.hpp.


Member Function Documentation

static void Sundance::ReducedIntegral::addFlops ( const double &  flops) [inline, static, protected]
static double& Sundance::ReducedIntegral::totalFlops ( ) [inline, static, private]

Reimplemented from Sundance::ElementIntegral.

Definition at line 177 of file SundanceReducedIntegral.hpp.

Referenced by addFlops().

void Sundance::ReducedIntegral::transform ( const CellJacobianBatch &  JTrans,
const CellJacobianBatch &  JVol,
const Array< int > &  isLocalFlag,
const Array< int > &  facetNum,
const RCP< Array< int > > &  cellLIDs,
const double *const  coeffs,
RCP< Array< double > > &  A 
) const [inline]
void ReducedIntegral::transformOneForm ( const CellJacobianBatch &  JTrans,
const CellJacobianBatch &  JVol,
const Array< int > &  facetIndex,
const RCP< Array< int > > &  cellLIDs,
const double *const  coeffs,
RCP< Array< double > > &  A 
) const
void ReducedIntegral::transformTwoForm ( const CellJacobianBatch &  JTrans,
const CellJacobianBatch &  JVol,
const Array< int > &  facetIndex,
const RCP< Array< int > > &  cellLIDs,
const double *const  coeffs,
RCP< Array< double > > &  A 
) const [virtual]
void ReducedIntegral::transformZeroForm ( const CellJacobianBatch &  JTrans,
const CellJacobianBatch &  JVol,
const Array< int > &  isLocalFlag,
const Array< int > &  facetIndex,
const RCP< Array< int > > &  cellLIDs,
const double *const  coeffs,
RCP< Array< double > > &  A 
) const [virtual]
double& Sundance::ReducedIntegral::value ( int  facetCase,
int  testDerivDir,
int  testNode,
int  unkDerivDir,
int  unkNode 
) [inline, private]
const double& Sundance::ReducedIntegral::value ( int  facetCase,
int  testDerivDir,
int  testNode,
int  unkDerivDir,
int  unkNode 
) const [inline, private]
double& Sundance::ReducedIntegral::value ( int  facetCase,
int  testDerivDir,
int  testNode 
) [inline, private]

Definition at line 169 of file SundanceReducedIntegral.hpp.

References Sundance::ElementIntegral::nNodesTest(), and W_.

const double& Sundance::ReducedIntegral::value ( int  facetCase,
int  testDerivDir,
int  testNode 
) const [inline, private]

Definition at line 173 of file SundanceReducedIntegral.hpp.

References Sundance::ElementIntegral::nNodesTest(), and W_.


Member Data Documentation

Array<Array<double> > Sundance::ReducedIntegral::W_ [private]

Site Contact