StdFwkEvalMediator evaluates mesh-dependent functions in the standard framework. A number of subtypes are supported: QuadratureEvalMediator, which does evaluation on quadrature points, and NodalEvalMediator, which does evaluation at nodal points.
Definition at line 64 of file SundanceStdFwkEvalMediator.hpp.
| StdFwkEvalMediator::StdFwkEvalMediator | ( | const Mesh & | mesh, |
| int | cellDim | ||
| ) |
Definition at line 62 of file SundanceStdFwkEvalMediator.cpp.
| virtual Sundance::StdFwkEvalMediator::~StdFwkEvalMediator | ( | ) | [inline, virtual] |
Definition at line 72 of file SundanceStdFwkEvalMediator.hpp.
| bool& Sundance::StdFwkEvalMediator::cacheIsValid | ( | ) | const [inline, protected] |
Definition at line 142 of file SundanceStdFwkEvalMediator.hpp.
References cacheIsValid_.
Referenced by Sundance::QuadratureEvalMediator::computePhysQuadPts(), Sundance::QuadratureEvalMediator::print(), setCellBatch(), and setCellType().
| int Sundance::StdFwkEvalMediator::cellDim | ( | ) | const [inline] |
Definition at line 106 of file SundanceStdFwkEvalMediator.hpp.
References cellDim_.
Referenced by Sundance::QuadratureEvalMediator::computePhysQuadPts(), Sundance::QuadratureEvalMediator::evalCellDiameterExpr(), Sundance::CurveEvalMediator::evalCellDiameterExpr(), Sundance::QuadratureEvalMediator::evalCellVectorExpr(), Sundance::CurveEvalMediator::evalCellVectorExpr(), Sundance::QuadratureEvalMediator::fillFunctionCache(), setCellBatch(), Sundance::QuadratureEvalMediator::setCellType(), Sundance::CurveEvalMediator::setCellType(), and setupFacetTransformations().
| const RCP<const Array<int> >& Sundance::StdFwkEvalMediator::cellLID | ( | ) | const [inline] |
Definition at line 118 of file SundanceStdFwkEvalMediator.hpp.
References cellLID_.
Referenced by Sundance::QuadratureEvalMediator::computePhysQuadPts(), Sundance::QuadratureEvalMediator::evalCellDiameterExpr(), Sundance::CurveEvalMediator::evalCellDiameterExpr(), Sundance::QuadratureEvalMediator::evalCellVectorExpr(), Sundance::CurveEvalMediator::evalCellVectorExpr(), Sundance::CurveEvalMediator::evalCoordExpr(), Sundance::CurveEvalMediator::evalCurveNormExpr(), Sundance::QuadratureEvalMediator::fillFunctionCache(), Sundance::QuadratureEvalMediator::print(), and setCellBatch().
| const CellType& Sundance::StdFwkEvalMediator::cellType | ( | ) | const [inline] |
Definition at line 112 of file SundanceStdFwkEvalMediator.hpp.
References cellType_.
Referenced by Sundance::QuadratureEvalMediator::computePhysQuadPts(), Sundance::QuadratureEvalMediator::evalCellDiameterExpr(), Sundance::CurveEvalMediator::evalCellDiameterExpr(), Sundance::QuadratureEvalMediator::evalCellVectorExpr(), Sundance::CurveEvalMediator::evalCellVectorExpr(), Sundance::CurveEvalMediator::evalCoordExpr(), Sundance::CurveEvalMediator::evalCurveNormExpr(), Sundance::QuadratureEvalMediator::fillFunctionCache(), setCellType(), and TEUCHOS_TIMER().
| const RCP<Array<int> >& Sundance::StdFwkEvalMediator::cofacetCellLID | ( | ) | const [inline] |
Definition at line 121 of file SundanceStdFwkEvalMediator.hpp.
References maxCellLIDs_.
Referenced by Sundance::QuadratureEvalMediator::computePhysQuadPts(), and Sundance::QuadratureEvalMediator::fillFunctionCache().
| bool Sundance::StdFwkEvalMediator::cofacetCellsAreReady | ( | ) | const [inline] |
Definition at line 127 of file SundanceStdFwkEvalMediator.hpp.
References cofacetCellsAreReady_.
Referenced by Sundance::QuadratureEvalMediator::fillFunctionCache().
| Map<const DiscreteFunctionData*, RCP<Array<Array<double> > > >& Sundance::StdFwkEvalMediator::dfCache | ( | ) | const [inline, protected] |
Definition at line 150 of file SundanceStdFwkEvalMediator.hpp.
References dfCache_.
Referenced by Sundance::QuadratureEvalMediator::fillFunctionCache().
| Map<const DiscreteFunctionData*, bool>& Sundance::StdFwkEvalMediator::dfCacheIsValid | ( | ) | const [inline, protected] |
Definition at line 161 of file SundanceStdFwkEvalMediator.hpp.
References dfCacheIsValid_.
Referenced by Sundance::QuadratureEvalMediator::fillFunctionCache().
| const Array<int>& Sundance::StdFwkEvalMediator::facetIndices | ( | ) | const [inline] |
When evaluating derivatives on boundaries, we evaluate basis functions on the maximal cofacets of the boundary cells. This function returns the facet index, relative to the maximal cofacet, of each boundary cell in the batch.
Definition at line 100 of file SundanceStdFwkEvalMediator.hpp.
References facetIndices_.
Referenced by Sundance::QuadratureEvalMediator::computePhysQuadPts(), and Sundance::QuadratureEvalMediator::fillFunctionCache().
| Map<const DiscreteFunctionData*, RCP<Array<Array<double> > > >& Sundance::StdFwkEvalMediator::fCache | ( | ) | const [inline, protected] |
Definition at line 148 of file SundanceStdFwkEvalMediator.hpp.
References fCache_.
Referenced by Sundance::QuadratureEvalMediator::fillFunctionCache().
| Map<const DiscreteFunctionData*, bool>& Sundance::StdFwkEvalMediator::fCacheIsValid | ( | ) | const [inline, protected] |
Definition at line 159 of file SundanceStdFwkEvalMediator.hpp.
References fCacheIsValid_.
Referenced by Sundance::QuadratureEvalMediator::fillFunctionCache().
| bool Sundance::StdFwkEvalMediator::forbidCofacetIntegrations | ( | ) | const [inline] |
Definition at line 133 of file SundanceStdFwkEvalMediator.hpp.
References forbidCofacetIntegrations_.
Referenced by Sundance::QuadratureEvalMediator::setCellType(), and Sundance::CurveEvalMediator::setCellType().
| IntegrationCellSpecifier Sundance::StdFwkEvalMediator::integrationCellSpec | ( | ) | const [inline] |
Definition at line 124 of file SundanceStdFwkEvalMediator.hpp.
References intCellSpec_.
Referenced by Sundance::QuadratureEvalMediator::setCellType(), and Sundance::CurveEvalMediator::setCellType().
| bool Sundance::StdFwkEvalMediator::isInternalBdry | ( | ) | const [inline] |
Definition at line 130 of file SundanceStdFwkEvalMediator.hpp.
References isInternalBdry_.
Referenced by Sundance::QuadratureEvalMediator::computePhysQuadPts(), setCellType(), Sundance::QuadratureEvalMediator::setCellType(), and Sundance::CurveEvalMediator::setCellType().
| const CellJacobianBatch & StdFwkEvalMediator::JTrans | ( | ) | const |
Return the Jacobian to be used in derivative transformations.
Definition at line 175 of file SundanceStdFwkEvalMediator.cpp.
References intCellSpec_, JTrans_, JVol_, and Sundance::NoTermsNeedCofacets.
Referenced by Sundance::QuadratureEvalMediator::fillFunctionCache().
| const CellJacobianBatch& Sundance::StdFwkEvalMediator::JVol | ( | ) | const [inline] |
Return the Jacobian to be used in computing the volume of cells being integrated. This will not necessarily be the same as the Jacobian used for transformations of vectors: when integrating derivatives over boundaries, the volume is the volume of the facet, while the transformations are computed on the maximal cofacets.
Definition at line 91 of file SundanceStdFwkEvalMediator.hpp.
References JVol_.
| Map<const DiscreteFunctionData*, RCP<Array<Array<double> > > >& Sundance::StdFwkEvalMediator::localValueCache | ( | ) | const [inline, protected] |
Definition at line 152 of file SundanceStdFwkEvalMediator.hpp.
References localValueCache_.
Referenced by Sundance::QuadratureEvalMediator::fillFunctionCache().
| Map<const DiscreteFunctionData*, bool>& Sundance::StdFwkEvalMediator::localValueCacheIsValid | ( | ) | const [inline, protected] |
Definition at line 163 of file SundanceStdFwkEvalMediator.hpp.
References localValueCacheIsValid_.
Referenced by Sundance::QuadratureEvalMediator::fillFunctionCache().
| Map<const DiscreteFunctionData*, RCP<const MapStructure> >& Sundance::StdFwkEvalMediator::mapStructCache | ( | ) | const [inline, protected] |
Definition at line 155 of file SundanceStdFwkEvalMediator.hpp.
References mapStructCache_.
Referenced by Sundance::QuadratureEvalMediator::fillFunctionCache().
| int Sundance::StdFwkEvalMediator::maxCellDim | ( | ) | const [inline] |
Definition at line 109 of file SundanceStdFwkEvalMediator.hpp.
References mesh_, and Sundance::Mesh::spatialDim().
Referenced by Sundance::QuadratureEvalMediator::computePhysQuadPts(), and Sundance::QuadratureEvalMediator::fillFunctionCache().
| const Array<int>& Sundance::StdFwkEvalMediator::maxCellLIDs | ( | ) | const [inline] |
Definition at line 103 of file SundanceStdFwkEvalMediator.hpp.
References maxCellLIDs_.
| const CellType& Sundance::StdFwkEvalMediator::maxCellType | ( | ) | const [inline] |
Definition at line 115 of file SundanceStdFwkEvalMediator.hpp.
References maxCellType_.
Referenced by Sundance::QuadratureEvalMediator::fillFunctionCache(), setCellType(), and Sundance::CurveEvalMediator::setCellType().
| const Mesh& Sundance::StdFwkEvalMediator::mesh | ( | ) | const [inline, protected] |
Definition at line 138 of file SundanceStdFwkEvalMediator.hpp.
References mesh_.
Referenced by Sundance::QuadratureEvalMediator::computePhysQuadPts(), Sundance::QuadratureEvalMediator::evalCellDiameterExpr(), Sundance::CurveEvalMediator::evalCellDiameterExpr(), Sundance::QuadratureEvalMediator::evalCellVectorExpr(), Sundance::CurveEvalMediator::evalCellVectorExpr(), Sundance::CurveEvalMediator::evalCoordExpr(), and Sundance::CurveEvalMediator::evalCurveNormExpr().
| Mesh& Sundance::StdFwkEvalMediator::mesh | ( | ) | [inline, protected] |
Definition at line 140 of file SundanceStdFwkEvalMediator.hpp.
References mesh_.
| void StdFwkEvalMediator::setCellBatch | ( | const RCP< const Array< int > > & | cellLID | ) |
Definition at line 109 of file SundanceStdFwkEvalMediator.cpp.
References cacheIsValid(), cellDim(), cellLID(), cellLID_, cofacetCellsAreReady_, dfCacheIsValid_, fCacheIsValid_, Sundance::Mesh::getJacobians(), intCellSpec_, jCacheIsValid_, JVol_, localValueCacheIsValid_, mesh_, Sundance::NoTermsNeedCofacets, setupFacetTransformations(), SUNDANCE_MSG1, SUNDANCE_MSG2, and Sundance::AbstractEvalMediator::verb().
| void StdFwkEvalMediator::setCellType | ( | const CellType & | cellType, |
| const CellType & | maxCellType, | ||
| bool | isInternalBdry | ||
| ) | [virtual] |
Update the cell type
Reimplemented in Sundance::CurveEvalMediator, and Sundance::QuadratureEvalMediator.
Definition at line 87 of file SundanceStdFwkEvalMediator.cpp.
References cacheIsValid(), cellDim_, cellType(), cellType_, cofacetCellsAreReady_, Sundance::dimension(), forbidCofacetIntegrations_, isInternalBdry(), isInternalBdry_, jCacheIsValid_, maxCellType(), and maxCellType_.
| void StdFwkEvalMediator::setIntegrationSpec | ( | IntegrationCellSpecifier | intCellSpec | ) |
Definition at line 103 of file SundanceStdFwkEvalMediator.cpp.
References intCellSpec_.
| void StdFwkEvalMediator::setupFacetTransformations | ( | ) | const [protected] |
Definition at line 142 of file SundanceStdFwkEvalMediator.cpp.
References cellDim(), cellLID_, cofacetCellsAreReady_, facetIndices_, Sundance::Mesh::getJacobians(), JTrans_, maxCellLIDs_, Sundance::Mesh::maxCofacetLID(), mesh_, Sundance::Mesh::numCells(), Sundance::Mesh::spatialDim(), SUNDANCE_MSG1, SUNDANCE_MSG2, and Sundance::AbstractEvalMediator::verb().
Referenced by Sundance::QuadratureEvalMediator::fillFunctionCache(), and setCellBatch().
bool Sundance::StdFwkEvalMediator::cacheIsValid_ [mutable, private] |
Definition at line 192 of file SundanceStdFwkEvalMediator.hpp.
Referenced by cacheIsValid().
int Sundance::StdFwkEvalMediator::cellDim_ [private] |
Definition at line 168 of file SundanceStdFwkEvalMediator.hpp.
Referenced by cellDim(), and setCellType().
RCP<const Array<int> > Sundance::StdFwkEvalMediator::cellLID_ [private] |
Definition at line 178 of file SundanceStdFwkEvalMediator.hpp.
Referenced by cellLID(), setCellBatch(), and setupFacetTransformations().
Definition at line 170 of file SundanceStdFwkEvalMediator.hpp.
Referenced by cellType(), and setCellType().
bool Sundance::StdFwkEvalMediator::cofacetCellsAreReady_ [mutable, private] |
Definition at line 190 of file SundanceStdFwkEvalMediator.hpp.
Referenced by cofacetCellsAreReady(), setCellBatch(), setCellType(), and setupFacetTransformations().
Map<const DiscreteFunctionData*, RCP<Array<Array<double> > > > Sundance::StdFwkEvalMediator::dfCache_ [mutable, private] |
Definition at line 201 of file SundanceStdFwkEvalMediator.hpp.
Referenced by dfCache().
Map<const DiscreteFunctionData*, bool> Sundance::StdFwkEvalMediator::dfCacheIsValid_ [mutable, private] |
Definition at line 210 of file SundanceStdFwkEvalMediator.hpp.
Referenced by dfCacheIsValid(), and setCellBatch().
RCP<Array<int> > Sundance::StdFwkEvalMediator::facetIndices_ [mutable, private] |
Definition at line 186 of file SundanceStdFwkEvalMediator.hpp.
Referenced by facetIndices(), and setupFacetTransformations().
Map<const DiscreteFunctionData*, RCP<Array<Array<double> > > > Sundance::StdFwkEvalMediator::fCache_ [mutable, private] |
Definition at line 199 of file SundanceStdFwkEvalMediator.hpp.
Referenced by fCache().
Map<const DiscreteFunctionData*, bool> Sundance::StdFwkEvalMediator::fCacheIsValid_ [mutable, private] |
Definition at line 208 of file SundanceStdFwkEvalMediator.hpp.
Referenced by fCacheIsValid(), and setCellBatch().
bool Sundance::StdFwkEvalMediator::forbidCofacetIntegrations_ [private] |
Definition at line 176 of file SundanceStdFwkEvalMediator.hpp.
Referenced by forbidCofacetIntegrations(), and setCellType().
IntegrationCellSpecifier Sundance::StdFwkEvalMediator::intCellSpec_ [mutable, private] |
Definition at line 180 of file SundanceStdFwkEvalMediator.hpp.
Referenced by integrationCellSpec(), JTrans(), setCellBatch(), and setIntegrationSpec().
bool Sundance::StdFwkEvalMediator::isInternalBdry_ [private] |
Definition at line 174 of file SundanceStdFwkEvalMediator.hpp.
Referenced by isInternalBdry(), and setCellType().
bool Sundance::StdFwkEvalMediator::jCacheIsValid_ [mutable, private] |
Definition at line 194 of file SundanceStdFwkEvalMediator.hpp.
Referenced by setCellBatch(), and setCellType().
RCP<CellJacobianBatch> Sundance::StdFwkEvalMediator::JTrans_ [mutable, private] |
Definition at line 184 of file SundanceStdFwkEvalMediator.hpp.
Referenced by JTrans(), and setupFacetTransformations().
RCP<CellJacobianBatch> Sundance::StdFwkEvalMediator::JVol_ [mutable, private] |
Definition at line 182 of file SundanceStdFwkEvalMediator.hpp.
Referenced by JTrans(), JVol(), and setCellBatch().
Map<const DiscreteFunctionData*, RCP<Array<Array<double> > > > Sundance::StdFwkEvalMediator::localValueCache_ [mutable, private] |
Definition at line 203 of file SundanceStdFwkEvalMediator.hpp.
Referenced by localValueCache().
Map<const DiscreteFunctionData*, bool> Sundance::StdFwkEvalMediator::localValueCacheIsValid_ [mutable, private] |
Definition at line 212 of file SundanceStdFwkEvalMediator.hpp.
Referenced by localValueCacheIsValid(), and setCellBatch().
Map<const DiscreteFunctionData*, RCP<const MapStructure> > Sundance::StdFwkEvalMediator::mapStructCache_ [mutable, private] |
Definition at line 205 of file SundanceStdFwkEvalMediator.hpp.
Referenced by mapStructCache().
RCP<Array<int> > Sundance::StdFwkEvalMediator::maxCellLIDs_ [mutable, private] |
Definition at line 188 of file SundanceStdFwkEvalMediator.hpp.
Referenced by cofacetCellLID(), maxCellLIDs(), and setupFacetTransformations().
Reimplemented in Sundance::CurveEvalMediator.
Definition at line 172 of file SundanceStdFwkEvalMediator.hpp.
Referenced by maxCellType(), and setCellType().
Mesh Sundance::StdFwkEvalMediator::mesh_ [private] |
Definition at line 166 of file SundanceStdFwkEvalMediator.hpp.
Referenced by maxCellDim(), mesh(), setCellBatch(), and setupFacetTransformations().