Namespaces | |
namespace | Rivara |
Classes | |
class | ADReal |
class | ArrayOfTuples |
class | Pair |
class | SortedPair |
class | EnumTypeField |
class | FixedArray |
class | FunctorDomain |
class | UnboundedDomain |
class | PositiveDomain |
class | StrictlyPositiveDomain |
class | BoundedDomain |
class | LowerBoundedDomain |
class | NonzeroDomain |
class | IntHashSet |
class | IntVec |
class | Map |
class | MultiSet |
class | NamedObject |
class | Noncopyable |
class | ObjectWithInstanceID |
class | VerbosityTraits |
class | ObjectWithClassVerbosity |
class | ParameterControlledObjectWithVerbosity |
class | OrderedHandle |
class | OrderedPair |
class | OrderedTriple |
class | OrderedQuartet |
class | Point |
class | Set |
class | PowerFunctor |
class | UnaryFunctor |
class | VersionString |
class | WatchFlag |
class | BinaryEvaluator |
class | CellDiameterExprEvaluator |
class | CellVectorEvaluator |
class | ChainRuleEvaluator |
class | IndexPair |
class | DerivProduct |
class | ChainRuleSum |
class | ConstantEvaluator |
class | CoordExprEvaluator |
class | CurveNormEvaluator |
class | DerivOfSymbFuncEvaluator |
class | DiffOpEvaluator |
class | DiscreteFuncElementEvaluator |
class | EFDEEvaluator |
class | EvalManager |
class | Evaluator |
class | EvaluatorFactory |
class | GenericEvaluatorFactory |
class | NonlinearUnaryOpEvaluator |
class | NullEvaluator |
class | ProductEvaluator |
class | StringEvalMediator |
class | SubtypeEvaluator |
class | SumEvaluator |
class | SymbolicFuncElementEvaluator |
class | TempStack |
class | UnaryEvaluator |
class | UnaryMinusEvaluator |
class | UserDefOpCommonEvaluator |
class | UserDefOpEvaluator |
class | AbstractEvalMediator |
class | AlgebraSpecifier |
class | CommonFuncDataStub |
class | Deriv |
class | DerivSet |
class | DiscreteFuncDataStub |
class | DiscreteFunctionStub |
class | EquationSet |
class | EvalContext |
class | EvalContextStub |
class | EvalVector |
class | EvalVectorArray |
class | FunctionIdentifier |
class | FunctionSupportResolver |
class | LoadableVector |
class | MultiIndex |
class | MultipleDeriv |
class | increasingOrder |
class | increasingOrder< MultipleDeriv > |
class | QuadratureFamilyStub |
class | RegionQuadCombo |
class | SpatialDerivSpecifier |
class | SymbolicFuncDescriptor |
class | TestFuncDataStub |
class | TestFunctionStub |
class | UnknownFuncDataStub |
class | UnknownFunctionStub |
class | BinaryExpr |
class | ConstantExpr |
class | CoordDeriv |
class | DerivOfSymbFunc |
class | DiffOp |
class | DiscreteFuncElement |
class | EvaluatableExpr |
class | ExplicitFunctionalDerivativeElement |
class | ExprBase |
class | ExprWithChildren |
class | FuncElementBase |
class | FuncSetAccumulator |
class | FunctionalPolynomial |
class | FunctionWithID |
class | ListExpr |
class | NonlinearUnaryOp |
class | ParameterData |
class | ProductExpr |
class | ScalarExpr |
class | SparsitySuperset |
class | SpatiallyConstantExpr |
class | SumExpr |
class | SumOfBCs |
class | SumOfIntegrals |
class | SymbolicFunc |
class | SymbolicFuncElement |
class | SymbPreprocessor |
class | TestFuncElement |
class | UnaryExpr |
class | UnaryMinus |
class | UnknownFuncElement |
class | UnknownParameterElement |
class | UserDefFunctorElement |
class | UserDefOpElement |
class | ZeroExpr |
class | ProductTransformation |
class | ProductTransformationSequence |
class | StdProductTransformations |
class | RemoveZeroFromProduct |
class | RemoveOneFromProduct |
class | RemoveMinusOneFromProduct |
class | MultiplyConstants |
class | MoveConstantsToLeftOfProduct |
class | MoveUnaryMinusOutsideProduct |
class | AssociateHungryDiffOpWithOperand |
class | KillDiffOpOnConstant |
class | BringConstantOutsideDiffOp |
class | DistributeSumOfDiffOps |
class | ApplySimpleDiffOp |
class | RearrangeRightProductWithConstant |
class | RearrangeLeftProductWithConstant |
class | TakeConstantUnderIntegralSign |
class | StdSumTransformations |
class | IdentifyPolynomialSum |
class | ReorderSum |
class | RemoveUnaryMinusFromSum |
class | RemoveZeroFromSum |
class | SumConstants |
class | MoveConstantsToLeftOfSum |
class | RearrangeRightSumWithConstant |
class | RearrangeLeftSumWithConstant |
class | SumIntegrals |
class | SumTransformation |
class | SumTransformationSequence |
class | SymbolicTransformation |
class | CellDiameterExpr |
class | CellVectorExpr |
class | ComplexExpr |
class | CoordExpr |
class | CurveExpr |
class | CurveNormExpr |
class | Derivative |
class | Expr |
class | FunctionalEvaluatorBase |
class | Parameter |
class | PointwiseUserDefFunctor0 |
class | PointwiseUserDefFunctor1 |
class | PointwiseUserDefFunctor2 |
class | UnknownParameter |
class | UserDefFunctor |
class | UserDefOp |
class | BinaryCellFilter |
class | BoundaryCellFilter |
class | BoundaryCellPredicate |
class | CellCurvePredicate |
class | CellFilter |
class | CellFilterBase |
class | CellIterator |
class | CellPredicate |
class | CellPredicateBase |
class | CellSet |
class | CellSetBase |
class | CFMeshPair |
class | DimensionalCellFilter |
class | MeshDomainBase |
class | CurveDomain |
class | MeshDomainDef |
class | ExplicitCellIterator |
class | ExplicitCellSet |
class | GIDCellPredicate |
class | ImplicitCellSet |
class | LabelCellPredicate |
class | LabeledSubsetCellFilter |
class | MaximalCellFilter |
class | MaximalCellSet |
class | NullCellFilter |
class | CellPredicateFunctorBase |
class | PositionalCellPredicate |
class | PointCellPredicateFunctor |
class | CoordinateValueCellPredicateFunctor |
class | PointCellPredicate |
class | CoordinateValueCellPredicate |
class | SideCellFilter |
class | SubsetCellFilter |
class | SubsetManager |
class | BasicSimplicialMesh |
class | BasicSimplicialMeshType |
class | VertexView |
class | HNMesh2D |
class | HNMesh3D |
class | HNMeshType2D |
class | HNMeshType3D |
class | PeanoMeshType2D |
class | PeanoMeshType3D |
class | PeriodicMesh1D |
class | PeriodicMeshType1D |
class | PeriodicSingleCellMesh1D |
class | CellJacobianBatch |
class | CellReorderer |
class | CellReordererFactoryBase |
class | GenericCellReordererFactory |
class | CellReordererImplemBase |
class | IdentityReordererImplem |
class | IdentityReorderer |
class | IncrementallyCreatableMesh |
class | MaximalCofacetBatch |
class | Mesh |
class | MeshBase |
Abstract interface to a mesh. More... | |
class | MeshType |
class | MeshTypeBase |
class | BamgMeshReader |
class | ExodusMeshReader |
class | ExodusNetCDFMeshReader |
class | HNMesher2D |
class | HNMesher3D |
class | MeshBuilder |
class | MeshReaderBase |
class | MeshSource |
class | MeshSourceBase |
class | OneTriangleMesher |
class | OneTetMesher |
class | PartitionedLineMesher |
class | PartitionedRectangleMesher |
class | PeanoMesher2D |
class | PeanoMesher3D |
class | PeriodicLineMesher |
class | TriangleMeshReader |
class | ExtrusionMeshTransformation |
class | FileIOChacoPartitioner |
class | MeshTransformation |
class | MeshTransformationBase |
class | SerialPartitionerBase |
class | CellLIDMappedFieldWrapper |
class | DSVWriter |
class | DSVWriterFactory |
class | ExodusWriter |
class | ExodusWriterFactory |
class | FieldBase |
class | FieldWriter |
class | FieldWriterBase |
class | FieldWriterFactoryBase |
class | FieldWriterFactory |
class | MatlabWriter |
class | MatlabWriterFactory |
class | TriangleWriter |
class | TriangleWriterFactory |
class | VerboseFieldWriter |
class | VTKWriter |
class | VTKWriterFactory |
class | Assembler |
class | AssemblyKernelBase |
class | CurveEvalMediator |
class | CurveIntegralCalc |
class | CurveQuadratureIntegral |
class | ElementIntegral |
class | FunctionalAssemblyKernel |
class | FunctionalEvaluator |
class | FunctionalGradientAssemblyKernel |
class | GrouperBase |
class | IntegralGroup |
class | LocalDOFMap |
class | LocalMatrixContainer |
class | MapBundle |
class | MatrixVectorAssemblyKernel |
class | MaximalQuadratureIntegral |
class | QuadratureEvalMediator |
class | QuadratureIntegral |
class | QuadratureIntegralBase |
class | ReducedIntegral |
class | RefIntegral |
class | StdFwkEvalMediator |
class | SundanceSurf3DCalc |
class | TrivialGrouper |
class | VectorAssemblyKernel |
class | VectorFillingAssemblyKernel |
class | Block |
class | BlockArray |
class | DOFMapBase |
Base interface for implementations of a degree of freedom map. More... | |
class | DOFMapBuilder |
class | HNDoFMapBase |
class | HNDoFMapBaseHomogeneous |
class | HomogeneousDOFMap |
class | InhomogeneousDOFMapHN |
class | InhomogeneousEdgeLocalizedDOFMap |
class | InhomogeneousNodalDOFMap |
class | MapStructure |
class | MixedDOFMap |
class | MixedDOFMapHN |
class | NodalDOFMap |
class | NodalDOFMapHN |
class | PartialElementDOFMap |
class | SpatiallyHomogeneousDOFMapBase |
class | SubmaximalNodalDOFMap |
class | SundanceGlobal |
class | AToCDensitySampler |
class | AToCPointLocator |
class | CoordinateSystemBase |
class | CoordinateSystem |
class | CartesianCoordinateSystem |
class | MeridionalCylindricalCoordinateSystem |
class | RadialSphericalCoordinateSystem |
class | CoordinateSystemBuilder |
class | CToAInterpolator |
class | StepControlParameters |
class | StepHookBase |
class | OutputControlParameters |
class | DoublingStepController |
class | Eigensolution |
class | EventDetectorBase |
class | ThresholdEventDetector |
class | ExprComparisonBase |
class | DefaultExprComparison |
class | ExprFieldWrapper |
class | Functional |
class | L2Projector |
class | LinearEigenproblem |
class | LinearProblem |
class | LinearSolveDriver |
class | NLOp |
class | NonlinearProblem |
class | LineDomain |
class | RectangleDomain |
class | LPTestSpec |
class | ErrNormCalculatorBase |
class | L2NormCalculator |
class | ForwardProblemTestBase |
class | LPTestBase |
class | LP1DTestBase |
class | LPRectTestBase |
class | LPTestSuite |
class | RefinementTransformation |
class | StochBlockJacobiSolver |
class | TransientStepProblem |
class | UniformRefinementPair |
class | BasisDOFTopologyBase |
class | BasisFamily |
class | BasisArray |
class | BasisFamilyBase |
class | ScalarBasis |
class | VectorBasis |
class | HDivVectorBasis |
class | HCurlVectorBasis |
class | BasisReferenceEvaluationBase |
class | Bernstein |
class | BrickQuadrature |
class | Bubble |
class | ClosedNewtonCotes |
class | ClosedNewtonCotesType |
class | CubicHermite |
class | DiscreteFunction |
class | DiscreteFunctionData |
class | DiscreteSpace |
class | EdgeLocalizedBasis |
class | FeketeBrickQuadrature |
class | FeketeQuadQuadrature |
class | FeketeQuadrature |
class | FeketeQuadratureType |
class | FeketeTriangleQuadrature |
class | Fourier |
class | FuncWithBasis |
class | Gauss1D |
class | GaussianQuadrature |
class | GaussianQuadratureType |
class | GaussLobatto1D |
class | GaussLobattoQuadrature |
class | Lagrange |
class | Legendre |
class | Nedelec |
class | PolygonQuadrature |
class | QuadQuadrature |
class | QuadratureFamily |
class | QuadratureFamilyBase |
class | QuadratureType |
class | QuadratureTypeBase |
class | RaviartThomas |
class | ReducedQuadrature |
class | SurfQuadrature |
class | TensorBasisBase |
class | TestFunction |
class | TestFunctionData |
class | TetQuadrature |
class | TrapesoidQuadrature |
class | TriangleQuadrature |
class | UnknownFunction |
class | UnknownFunctionData |
class | VectorBasisComponent |
class | IterCallbackBase |
class | DefaultIterCallback |
class | LinearPDEConstrainedObj |
class | NonlinearPDEConstrainedObj |
class | PDEConstrainedObjBase |
class | PointData |
class | SloppyPointComparitor |
class | PointDataExprFunctor |
class | PointDataCellPredicateFunctor |
Typedefs | |
typedef OrderedPair < MultipleDeriv, MultipleDeriv > | DerivPair |
typedef Sundance::Map < DerivPair, int > | ProductRulePerms |
typedef OrderedTriple < OrderedHandle < CellFilterStub > , OrderedHandle < QuadratureFamilyStub > , WatchFlag > | RegTriple |
typedef std::set< int > | ColSetType |
Enumerations | |
enum | AlgebraType { VectorAT, NormalAT, CoordCompAT, ScalarAT } |
enum | ComputationType { MatrixAndVector, VectorOnly, FunctionalOnly, FunctionalAndGradient, Sensitivities } |
enum | DerivType { CoordDT, FunctionalDT, NullDT } |
enum | SpatialDerivType { IdentitySDT, PartialSDT, NormalSDT, DivSDT } |
enum | DerivSubsetSpecifier { AllNonzeros, RequiredNonzeros, VariableNonzeros, ConstantNonzeros } |
enum | DerivState { ZeroDeriv, ConstantDeriv, VectorDeriv } |
enum | CellVectorExprType { CellNormalVector, CellTangentSpace } |
enum | CellType { NullCell, PointCell, LineCell, TriangleCell, TetCell, QuadCell, BrickCell, PrismCell } |
Enumeration of specific 1D, 2D, and 3D cell types. More... | |
enum | MeshEntityOrder { UFCMeshOrder, ExodusMeshOrder } |
enum | IntegrationCellSpecifier { NoTermsNeedCofacets, AllTermsNeedCofacets, SomeTermsNeedCofacets } |
enum | ThresholdEventType { AnyAbove, AllAbove, AnyBelow, AllBelow } |
Functions | |
ADReal | operator+ (const double &scalar, const ADReal &a) |
ADReal | operator- (const double &scalar, const ADReal &a) |
ADReal | operator* (const double &scalar, const ADReal &a) |
ADReal | operator/ (const double &scalar, const ADReal &a) |
ADReal | pow (const ADReal &x, const double &y) |
SUNDANCE_AD_FUNCTOR (exp, StdExp) SUNDANCE_AD_FUNCTOR(log | |
StdLog | SUNDANCE_AD_FUNCTOR (sqrt, StdSqrt) SUNDANCE_AD_FUNCTOR(sin |
void | reportFailure (const MPIComm &comm) |
bool | checkForFailures (const MPIComm &comm) |
Array< Array< int > > | partitionInteger (int n) |
bool | nextNum (Array< int > &digits, const Array< int > &radix) |
void | weightedPartitions (int n, const Array< int > &w, Array< Array< int > > &parts) |
void | weightedOrderedPartitions (const IntVec &v, const Array< int > &w, Array< Array< IntVec > > &parts) |
void | pSet (const IntVec &lambda, const IntVec &nu, int s, Array< Array< IntVec > > &K, Array< Array< IntVec > > &L) |
Array< Array< Array< int > > > | compositions (int n) |
void | restrictedCompositions (int n, int len, Array< Array< int > > &rComps) |
Array< Array< int > > | nonNegCompositions (int n, int J) |
Set< Pair< MultiSet< int > > > | loadPartitions (int x, int n, const MultiSet< int > &left, const MultiSet< int > &right) |
Set< Pair< MultiSet< int > > > | binaryPartition (const MultiSet< int > &m) |
Set< MultiSet< MultiSet< int > > > | multisetPartitions (const MultiSet< int > &m) |
Map< int, int > | countMap (const MultiSet< int > &m) |
Array< Array< int > > | indexCombinations (const Array< int > &s) |
Array< Array< Array< int > > > | binnings (const MultiSet< int > &mu, int n) |
Array< Array< Array< int > > > | indexArrangements (const MultiSet< int > &mu, const Array< int > &k) |
Set< MultiSet< int > > | multisetSubsets (const MultiSet< int > &x) |
Array< Array< MultiSet< int > > > | multisetCompositions (int s, const MultiSet< int > &x) |
Array< Array< int > > | distinctIndexTuples (int m, int n) |
Array< int > | bitsOfAnInteger (int x, int n) |
int | pow2 (int n) |
Array< Array< MultiSet< int > > > | multisetSubsetNTuples (int n, const MultiSet< int > &x) |
template<class T > | |
std::ostream & | operator<< (std::ostream &os, const Pair< T > &p) |
template<class T > | |
std::ostream & | operator<< (std::ostream &os, const SortedPair< T > &p) |
template<class T > | |
Array< Array< Array< T > > > | indexArrangements (const MultiSet< T > &mu, const Array< int > &k) |
template<class T > | |
Array< Array< Array< T > > > | binnings (const MultiSet< T > &mu, int n) |
int | factorial (const MultiSet< int > &ms) |
template<class T > | |
FixedArray< 2, T > | makeFA (const T &a, const T &b) |
template<class T > | |
FixedArray< 3, T > | makeFA (const T &a, const T &b, const T &c) |
template<class T > | |
FixedArray< 4, T > | makeFA (const T &a, const T &b, const T &c, const T &d) |
std::ostream & | operator<< (std::ostream &os, const FunctorDomain &f) |
IntVec | intVec (int a) |
IntVec | intVec (int a, int b) |
IntVec | intVec (int a, int b, int c) |
IntVec | intVec (int a, int b, int c, int d) |
IntVec | intVec (int a, int b, int c, int d, int e) |
template<class A , class B > | |
std::ostream & | operator<< (std::ostream &os, const OrderedPair< A, B > &p) |
void | writeTable (std::ostream &os, const Tabs &tab, const Array< double > &a, int cols) |
void | writeTable (std::ostream &os, const Tabs &tab, const Array< int > &a, int cols) |
ParameterList | mergeParamLists (const ParameterList &pDef, const ParameterList &pIn) |
string | searchForFile (const std::string &name) |
string | getPathStr () |
Array< string > | parsePathStr () |
Point | operator* (const double &a, const Point &p) |
Point | cross (const Point &x, const Point &y) |
SUNDANCE_UNARY_FUNCTOR (reciprocal, StdReciprocal,"reciprocal function", NonzeroDomain(), 1.0/x[i],-f[i]*f[i],-2.0 *df[i]/x[i]) SUNDANCE_UNARY_FUNCTOR(fabs | |
absolute | UnboundedDomain () |
template<typename A , typename B > | |
bool | typeLessThan (const A *a, const B *b) |
int | mapExSideToMissingVertex (int dim, int exFaceID) |
Array< int > | exSideVertPos (int dim, int sideIndex) |
Array< int > | ufcSideVertPos (int dim, int f) |
Array< int > | ufcSide (int f, const Array< int > &verts) |
Array< int > | exSide (int f, const Array< int > &verts) |
void | vertexSort (Array< int > &verts, int *key) |
void | getKeyedPerm (int key, Array< int > &digits) |
int | iPow (int base, int n) |
int | exVertPosToUFCVertPos (int meshDim, int permKey, int exVertPos) |
int | exFacetIndexToUFCFacetIndex (int meshDim, int permKey, int exFacetID) |
int | ufcFacetIndexToExFacetIndex (int meshDim, int ufcFacetIndex) |
template<class T > | |
void | insertionSort (Teuchos::Array< T > &A) |
MultipleDeriv | makeDeriv (const Expr &a) |
MultipleDeriv | makeDeriv (const Expr &a, const Expr &b) |
MultipleDeriv | makeDeriv (const Expr &a, const Expr &b, const Expr &c) |
AlgebraSpecifier | scalarAlgebraSpec () |
AlgebraSpecifier | normalAlgebraSpec () |
AlgebraSpecifier | coordAlgebraSpec (int dir) |
std::ostream & | operator<< (std::ostream &os, const ComputationType &ct) |
Deriv | coordDeriv (int d) |
Deriv | coordDeriv (const MultiIndex &mi) |
Deriv | funcDeriv (const SymbolicFuncElement *symbFunc) |
Deriv | funcDeriv (const SymbolicFuncElement *symbFunc, const MultiIndex &mi) |
Deriv | funcDeriv (const SymbolicFunc *symbFunc) |
Deriv | funcDeriv (const SymbolicFunc *symbFunc, const MultiIndex &mi) |
Deriv | normalDeriv (const SymbolicFuncElement *symbFunc) |
Deriv | divergenceDeriv (const SymbolicFunc *symbFunc) |
FunctionIdentifier | makeFuncID (int tensorOrder) |
RCP< const CommonFuncDataStub > | getSharedFunctionData (const FuncElementBase *f) |
Set< MultipleDeriv > | applyTx (const Set< MultipleDeriv > &S, const MultiIndex &x) |
Tranform the input set S as follows: for each multiple derivative in S, apply the multiindex x to each of its component functional derivatives in turn. Note that the multiindex may have negative indices. Results with negative multiindices are ignored. | |
Set< MultipleDeriv > | Xx (const MultiIndex &x) |
Set< MultipleDeriv > | applyZx (const Set< MultipleDeriv > &W, const MultiIndex &x) |
Filter the input set W, allowing only coordinate derivatives in the direction x and functional derivatives whose associated functions have nonzero evaluation points. This function is used in the spatial/functional chain rule to identify those terms resulting from differentiation wrt x or functional derivatives. | |
int | factorial (const MultipleDeriv &ms) |
MultipleDeriv | makeMultiDeriv (const Deriv &d) |
bool | hasParameter (const MultipleDeriv &d) |
Array< Array< std::pair< int, Array< MultipleDeriv > > > > | chainRuleDerivsOfArgs (int nArgs, const MultiSet< int > &bSet, const MultipleDeriv &c) |
Array< Array< Array< int > > > | bStructure (const Array< int > &b, const Array< Array< int > > &tmp) |
Array< OrderedPair< Array < MultiSet< int > >, Array < MultipleDeriv > > > | chainRuleTerms (int s, const MultiSet< int > &lambda, const MultipleDeriv &nu) |
Set< MultipleDeriv > | multisetSubsets (const MultipleDeriv &nu) |
int | chainRuleMultiplicity (const MultipleDeriv &nu, const Array< MultiSet< int > > &K, const Array< MultipleDeriv > &L) |
Expr | makeZeros (const Expr &v) |
Expr | CellNormalExpr (int dimension, const std::string &name) |
Expr | CellTangentExpr (int dimension, const std::string &name) |
Expr | Complex (const Expr &re, const Expr &im) |
Expr | List (const Expr &a) |
Expr | List (const Expr &a, const Expr &b) |
Expr | List (const Expr &a, const Expr &b, const Expr &c) |
Expr | List (const Expr &a, const Expr &b, const Expr &c, const Expr &d) |
Expr | List (const Expr &a, const Expr &b, const Expr &c, const Expr &d, const Expr &e) |
Expr | List (const Expr &a, const Expr &b, const Expr &c, const Expr &d, const Expr &e, const Expr &f) |
Expr | List (const Expr &a, const Expr &b, const Expr &c, const Expr &d, const Expr &e, const Expr &f, const Expr &g) |
Expr | List (const Expr &a, const Expr &b, const Expr &c, const Expr &d, const Expr &e, const Expr &f, const Expr &g, const Expr &h) |
Expr | pow (const Expr &expr, const double &p) |
Expr | gradient (int dim) |
Expr | div (const Expr &f) |
Expr | cross (const Expr &a, const Expr &b) |
Expr | curl (const Expr &f) |
Expr | colonProduct (const Expr &A, const Expr &B) |
Expr | outerProduct (const Expr &A, const Expr &B) |
bool | isVector (const Expr &x, int &N) |
bool | isSquareMatrix (const Expr &x, int &N) |
Array< CFMeshPair > | resolvePair (const CFMeshPair &a, const CFMeshPair &b) |
Array< CFMeshPair > | resolveSets (const Array< CFMeshPair > &s) |
Array< CFMeshPair > | findDisjointFilters (const Array< CellFilter > &filters, const Array< Set< int > > &funcs, const Mesh &mesh) |
std::ostream & | operator<< (std::ostream &os, const CFMeshPair &c) |
std::ostream & | operator<< (std::ostream &os, const CellJacobianBatch &J) |
std::string | toString (const CellType &c) |
Return a std::string representation of the cell type. | |
int | dimension (const CellType &c) |
Return the dimension of the cell type. | |
int | numFacets (const CellType &c, int facetDim) |
Return the number of faces of a given facet dimension for a cell type. | |
CellType | facetType (const CellType &cellType, int facetDim, int facetIndex) |
std::ostream & | operator<< (std::ostream &os, const CellType &c) |
output stream operator for CellType . | |
bool | cellContainsPoint (const Mesh &mesh, int cellDim, int cellLID, const double *x, Array< int > &facetLID) |
double | volume (const Mesh &mesh, int cellDim, int cellLID) |
double | orient2D (const double *A, const double *B, const double *x) |
int | findEnclosingCell (const Mesh &mesh, int cellDim, int initialGuessLID, const double *x) |
Point | pullback (const Mesh &mesh, int cellDim, int cellLID, const double *x) |
void | printCell (const Mesh &mesh, int cellLID) |
void | maximalNeighbors (const Mesh &mesh, int cellDim, int cellLID, const Array< int > &facetLID, std::list< int > &rtn) |
Point | cross3 (const Point &a, const Point &b) |
double | cross2 (const Point &a, const Point &b) |
CellSet | connectedNodeSet (const CellFilter &f, const Mesh &mesh) |
RCP< Array< int > > | cellSetToLIDArray (const CellSet &cs) |
double | evaluateIntegral (const Mesh &mesh, const Expr &expr) |
std::ostream & | operator<< (std::ostream &os, const IntegrationCellSpecifier &s) |
Array< Array< BasisFamily > > | testBasisArray (const RCP< FunctionSupportResolver > &fsr) |
Array< Array< BasisFamily > > | unkBasisArray (const RCP< FunctionSupportResolver > &fsr) |
Array< RCP < BasisDOFTopologyBase > > | replicate (const RCP< BasisDOFTopologyBase > &model, int n) |
Mesh | unfoldPeriodicMesh (const Mesh &mesh) |
DiscreteSpace | unfoldPeriodicDiscreteSpace (const DiscreteSpace &space) |
Expr | unfoldPeriodicDiscreteFunction (const Expr &f, const string &name) |
void | handleException (std::exception &e) |
bool | passFailTest (bool pass) |
bool | passFailTest (double error, double tol) |
bool | passFailTest (const std::string &statusMsg, bool status, double error, double tol) |
int & | testStatus () |
CommandLineProcessor & | clp () |
int | init (int *argc, char ***argv) |
int | finalize () |
void | setOption (const std::string &optionName, int &value, const std::string &helpMsg) |
void | setOption (const std::string &optionName, double &value, const std::string &helpMsg) |
void | setOption (const std::string &optionName, std::string &value, const std::string &helpMsg) |
void | setOption (const std::string &optionTrueName, const std::string &optionFalseName, bool &value, const std::string &helpMsg) |
std::ostream & | operator<< (std::ostream &os, const CoordinateSystem &cs) |
double | L2Norm (const Mesh &mesh, const CellFilter &domain, const Expr &f, const QuadratureFamily &quad, const WatchFlag &watch) |
double | H1Seminorm (const Mesh &mesh, const CellFilter &filter, const Expr &f, const QuadratureFamily &quad, const WatchFlag &watch) |
double | H1Norm (const Mesh &mesh, const CellFilter &filter, const Expr &f, const QuadratureFamily &quad, const WatchFlag &watch) |
Expr | readNodalFields (const MeshSource &mesher, const Mesh &mesh, const VectorType< double > &vecType, int verb) |
Expr | readSerialGridField (const std::string &gridFile, double ax, double bx, double ay, double by, const VectorType< double > &vecType, const MeshType &meshType, Mesh &mesh) |
double | readbackTester (const std::string &infile, const MPIComm &comm, int verb) |
void | invertMap (const Map< int, int > &in, Map< int, int > &out) |
void | serialPartition (const RCP< SerialPartitionerBase > &part, int numProc, const MeshSource &mesher, const std::string &outfile) |
Expr | NitschePoissonDirichletBC (int dim, const CellFilter &cells, const QuadratureFamily &quad, const Expr &kappa, const Expr &v, const Expr &u, const Expr &uBC, const double &gamma) |
Expr | NitscheStokesNoSlipBC (const CellFilter &cells, const QuadratureFamily &quad, const Expr &nu, const Expr &v, const Expr &q, const Expr &u, const Expr &p, const Expr &uBC, const double &gamma1, const double &gamma2) |
bool | checkErrorNorms (const Mesh &mesh, const CellFilter &filter, const Expr &numSoln, const Expr &exactSoln, const QuadratureFamily &quad, double L2Tol, double H1SemiTol, double H1Tol) |
double | fitPower (const Array< double > &h, const Array< double > &err) |
Array< std::pair< int, int > > | vectorDimStructure (const Array< BasisFamily > &basis) |
Array< std::pair< int, int > > | vectorDimStructure (const BasisFamily &basis) |
bool | basisRestrictableToBoundary (const BasisFamily &b) |
Array< BasisFamily > | replicate (const BasisFamily &b, int n) |
Array< BasisFamily > | replicate (const Array< BasisFamily > &b, int n) |
static Time & | getLocalValsTimer () |
static Time & | dfCtorTimer () |
void | updateDiscreteFunction (const Expr &newVals, Expr old) |
void | addVecToDiscreteFunction (Expr df, const Vector< double > &v) |
Expr | copyDiscreteFunction (const Expr &u0, const string &name) |
void | setDiscreteFunctionVector (Expr u, const Vector< double > &v) |
Vector< double > | getDiscreteFunctionVector (const Expr &u) |
Mesh | getDiscreteFunctionMesh (const Expr &u) |
DiscreteSpace | getDiscreteSpace (const Expr &u) |
std::string | describeFunction (const Expr &f) |
void | printQuad (std::ostream &os, const Array< Point > &pts, const Array< double > &wgts) |
Variables | |
StdFabs | |
absolute | value |
typedef std::set<int> Sundance::ColSetType |
Definition at line 66 of file SundanceAssembler.hpp.
Definition at line 46 of file SundanceMultipleDeriv.hpp.
typedef Sundance::Map<DerivPair, int> Sundance::ProductRulePerms |
Definition at line 51 of file SundanceMultipleDeriv.hpp.
typedef OrderedTriple<OrderedHandle<CellFilterStub>, OrderedHandle<QuadratureFamilyStub>, WatchFlag> Sundance::RegTriple |
Definition at line 53 of file SundanceRegionQuadCombo.hpp.
Definition at line 41 of file SundanceAlgebraSpecifier.hpp.
Definition at line 44 of file SundanceCellVectorExpr.hpp.
enum ComputationType [related, inherited] |
Specifier of what sort of calculation is to be done with an equation set
Definition at line 44 of file SundanceComputationType.hpp.
enum Sundance::DerivState |
DerivState can be used to classify the known state of each functional derivative at any node in the expression tree. ZeroDeriv means the derivative is structurally zero at that node -- note that derivatives that are nonzero at a root node can be structurally zero at some child node. ConstantDeriv means that the derivative is known to be a constant (in space) at that node. VectorDeriv means that the derivative is non-zero, non-constant, i.e., a vector of values.
Definition at line 63 of file SundanceSparsitySuperset.hpp.
Definition at line 66 of file SundanceEvaluatableExpr.hpp.
enum Sundance::DerivType |
Definition at line 43 of file SundanceIntegrationCellSpecifier.hpp.
Identifier for ordering convention
Definition at line 50 of file SundanceMeshBase.hpp.
Definition at line 42 of file SundanceSpatialDerivSpecifier.hpp.
Definition at line 64 of file SundanceEventDetector.hpp.
void Sundance::addVecToDiscreteFunction | ( | Expr | df, | |
const Vector< double > & | v | |||
) | [related] |
Definition at line 207 of file SundanceDiscreteFunction.cpp.
References getDiscreteFunctionVector(), setDiscreteFunctionVector(), and Playa::Vector< Scalar >::update().
Set< MultipleDeriv > Sundance::applyTx | ( | const Set< MultipleDeriv > & | s, | |
const MultiIndex & | x | |||
) |
Tranform the input set S as follows: for each multiple derivative in S, apply the multiindex x to each of its component functional derivatives in turn. Note that the multiindex may have negative indices. Results with negative multiindices are ignored.
Definition at line 261 of file SundanceMultipleDeriv.cpp.
References Sundance::Set< Key, Compare >::begin(), Sundance::Deriv::derivWrtMultiIndex(), Sundance::Set< Key, Compare >::end(), Sundance::Deriv::isFunctionalDeriv(), Sundance::MultiIndex::isValid(), Sundance::SpatialDerivSpecifier::mi(), Sundance::Deriv::opOnFunc(), Sundance::Set< Key, Compare >::put(), and Sundance::MultiSet< Key >::put().
Referenced by Sundance::DiffOp::internalDetermineR(), Sundance::DiffOp::internalFindV(), and Sundance::DiffOp::internalFindW().
Set< MultipleDeriv > Sundance::applyZx | ( | const Set< MultipleDeriv > & | W, | |
const MultiIndex & | x | |||
) |
Filter the input set W, allowing only coordinate derivatives in the direction x and functional derivatives whose associated functions have nonzero evaluation points. This function is used in the spatial/functional chain rule to identify those terms resulting from differentiation wrt x or functional derivatives.
Definition at line 302 of file SundanceMultipleDeriv.cpp.
References Sundance::Set< Key, Compare >::begin(), Sundance::Set< Key, Compare >::end(), Sundance::MultipleDeriv::order(), Sundance::MultiIndex::order(), and Sundance::Set< Key, Compare >::put().
Referenced by Sundance::DiffOp::internalDetermineR(), Sundance::DiffOp::internalFindV(), and Sundance::DiffOp::internalFindW().
bool Sundance::basisRestrictableToBoundary | ( | const BasisFamily & | b | ) | [related] |
Definition at line 229 of file SundanceBasisFamily.cpp.
References Playa::Handle< PointerType >::ptr().
Referenced by Sundance::ElementIntegral::ElementIntegral().
Return the size-2 partitions of a multiset. This is used in a recursive algorithm to determine all partitions of a multset.
Definition at line 283 of file SundanceCombinatorialUtils.cpp.
References Sundance::Set< Key, Compare >::begin(), countMap(), Sundance::Set< Key, Compare >::end(), loadPartitions(), Sundance::Set< Key, Compare >::merge(), Sundance::Set< Key, Compare >::put(), and Sundance::Set< Key, Compare >::size().
Referenced by multisetPartitions().
Array<Array<Array<T> > > Sundance::binnings | ( | const MultiSet< T > & | mu, | |
int | n | |||
) | [inline] |
Return the distinct arrangements of the given multiset into n bins
Definition at line 261 of file SundanceCombinatorialUtils.hpp.
References compositions(), and indexArrangements().
Array<Array<Array<int> > > Sundance::binnings | ( | const MultiSet< int > & | mu, | |
int | n | |||
) |
Definition at line 428 of file SundanceCombinatorialUtils.cpp.
References compositions(), and indexArrangements().
Referenced by Sundance::ChainRuleEvaluator::chainRuleBins().
Array< int > Sundance::bitsOfAnInteger | ( | int | x, | |
int | n | |||
) |
Compute the n bits of an integer x < 2^n. The bits are ordered least-to-most significant.
Definition at line 583 of file SundanceCombinatorialUtils.cpp.
References pow2().
Referenced by multisetSubsets(), and Sundance::MultipleDeriv::productRulePermutations().
Array<Array<Array<int> > > Sundance::bStructure | ( | const Array< int > & | b, | |
const Array< Array< int > > & | tmp | |||
) | [related] |
Definition at line 1100 of file SundanceExprWithChildren.cpp.
Referenced by chainRuleDerivsOfArgs().
bool Sundance::cellContainsPoint | ( | const Mesh & | mesh, | |
int | cellDim, | |||
int | cellLID, | |||
const double * | x, | |||
Array< int > & | facetLID | |||
) | [related] |
Definition at line 44 of file SundanceGeomUtils.cpp.
References Sundance::Mesh::getFacetArray(), Sundance::Mesh::nodePosition(), Sundance::Mesh::nodePositionView(), and orient2D().
Referenced by findEnclosingCell().
Expr Sundance::CellNormalExpr | ( | int | dimension, | |
const std::string & | name | |||
) | [related] |
Definition at line 49 of file SundanceCellVectorExpr.cpp.
References Teuchos::toString().
Referenced by NitschePoissonDirichletBC(), and NitscheStokesNoSlipBC().
RCP< Array< int > > Sundance::cellSetToLIDArray | ( | const CellSet & | cs | ) |
Definition at line 110 of file SundanceFieldBase.cpp.
References Sundance::CellSet::begin(), and Sundance::CellSet::end().
Referenced by Sundance::ExodusWriter::findBlocks(), and Sundance::ExodusWriter::findNodeSets().
Expr Sundance::CellTangentExpr | ( | int | dimension, | |
const std::string & | name | |||
) | [related] |
Array<Array<std::pair<int, Array<MultipleDeriv> > > > Sundance::chainRuleDerivsOfArgs | ( | int | nArgs, | |
const MultiSet< int > & | bSet, | |||
const MultipleDeriv & | c | |||
) | [related] |
int Sundance::chainRuleMultiplicity | ( | const MultipleDeriv & | nu, | |
const Array< MultiSet< int > > & | K, | |||
const Array< MultipleDeriv > & | L | |||
) |
Return the multiplicity of a chain rule term
Definition at line 1204 of file SundanceExprWithChildren.cpp.
References factorial().
Referenced by Sundance::ChainRuleEvaluator::init().
Array<OrderedPair<Array<MultiSet<int> >, Array<MultipleDeriv> > > Sundance::chainRuleTerms | ( | int | s, | |
const MultiSet< int > & | lambda, | |||
const MultipleDeriv & | nu | |||
) | [related] |
Definition at line 1122 of file SundanceExprWithChildren.cpp.
References distinctIndexTuples(), Sundance::Set< Key, Compare >::elements(), multisetCompositions(), multisetSubsets(), and Sundance::MultipleDeriv::product().
Referenced by Sundance::ChainRuleEvaluator::init().
bool Sundance::checkErrorNorms | ( | const Mesh & | mesh, | |
const CellFilter & | filter, | |||
const Expr & | numSoln, | |||
const Expr & | exactSoln, | |||
const QuadratureFamily & | quad, | |||
double | L2Tol, | |||
double | H1SemiTol, | |||
double | H1Tol | |||
) |
This function checks the L2 and H1 norms and the H1 seminorm of an error against a specified tolerance.
Definition at line 53 of file SundanceProblemTesting.cpp.
References H1Norm(), H1Seminorm(), L2Norm(), and Playa::Out::root().
bool Sundance::checkForFailures | ( | const MPIComm & | comm | ) |
Call this function after exception-free completion of a try/catch block preceding a collective operation. This function will do an AllReduce in conjunction with calls to either this function or its partner, reportFailure(), on the other processors. If a failure has been reported by another processor, the call to checkForFailures() will return true and an exception can be thrown.
Definition at line 18 of file SundanceCollectiveExceptionCheck.cpp.
References Playa::MPIComm::allReduce(), Playa::MPIDataType::intType(), and Playa::MPIOp::sumOp().
Referenced by Sundance::BasicSimplicialMesh::assignIntermediateCellGIDs(), Sundance::PartitionedLineMesher::fillMesh(), Sundance::BasicSimplicialMesh::resolveEdgeOwnership(), and Sundance::BasicSimplicialMesh::synchronizeNeighborLists().
CommandLineProcessor& Sundance::clp | ( | ) |
Expr Sundance::colonProduct | ( | const Expr & | A, | |
const Expr & | B | |||
) | [related] |
Definition at line 995 of file SundanceExpr.cpp.
References Sundance::Expr::isComplex(), Playa::Handle< PointerType >::ptr(), Sundance::Expr::size(), and Sundance::Expr::totalSize().
Array< Array< Array< int > > > Sundance::compositions | ( | int | n | ) |
Return compositions of an integer
Definition at line 179 of file SundanceCombinatorialUtils.cpp.
References partitionInteger(), and sort().
Referenced by binnings(), Sundance::ExprWithChildren::internalFindC(), Sundance::ExprWithChildren::internalFindV(), Sundance::ExprWithChildren::internalFindW(), and Sundance::ChainRuleEvaluator::nComps().
CellSet Sundance::connectedNodeSet | ( | const CellFilter & | f, | |
const Mesh & | mesh | |||
) |
Definition at line 80 of file SundanceFieldBase.cpp.
References Sundance::CellSet::begin(), Sundance::CellSet::dimension(), Sundance::CellSet::end(), Sundance::CellFilter::getCells(), Sundance::Mesh::getFacetLIDs(), PointCell, and Sundance::Set< Key, Compare >::put().
Referenced by Sundance::ExodusWriter::findNodeSets().
AlgebraSpecifier Sundance::coordAlgebraSpec | ( | int | dir | ) | [related] |
Definition at line 140 of file SundanceAlgebraSpecifier.cpp.
Referenced by Sundance::FunctionIdentifier::createComponent().
Deriv Sundance::coordDeriv | ( | const MultiIndex & | mi | ) | [related] |
Definition at line 322 of file SundanceDeriv.cpp.
References Sundance::MultiIndex::firstOrderDirection().
Deriv Sundance::coordDeriv | ( | int | d | ) | [related] |
Definition at line 317 of file SundanceDeriv.cpp.
Referenced by Sundance::DiffOp::internalDetermineR(), Sundance::CoordExpr::internalFindC(), Sundance::DiscreteFuncElement::internalFindV(), Sundance::DiscreteFuncElement::internalFindW(), Sundance::CoordExpr::internalFindW(), and Xx().
Expr Sundance::copyDiscreteFunction | ( | const Expr & | u0, | |
const string & | name | |||
) | [related] |
Definition at line 214 of file SundanceDiscreteFunction.cpp.
References Playa::Vector< Scalar >::copy(), Sundance::DiscreteFunction::discreteSpace(), Sundance::DiscreteFunctionData::getData(), Sundance::DiscreteFunctionData::getVector(), Sundance::DiscreteFunction::getVector(), Playa::Handle< PointerType >::ptr(), Sundance::Expr::size(), and Teuchos::toString().
Referenced by Sundance::DoublingStepController::run().
Map< int, int > Sundance::countMap | ( | const MultiSet< int > & | m | ) |
Given a multiset, create a mapping from entry to number of repetitions in the multisets.
Definition at line 387 of file SundanceCombinatorialUtils.cpp.
References Sundance::Map< Key, Value, Compare >::containsKey(), and Sundance::Map< Key, Value, Compare >::put().
Referenced by binaryPartition().
Expr Sundance::cross | ( | const Expr & | a, | |
const Expr & | b | |||
) | [related] |
Definition at line 61 of file SundanceVectorCalculus.cpp.
References cross(), List(), and Sundance::Expr::size().
Point Sundance::cross | ( | const Point & | x, | |
const Point & | y | |||
) | [inline] |
Definition at line 271 of file SundancePoint.hpp.
Referenced by cross(), curl(), Sundance::GaussLobattoQuadrature::getAdaptedQuadWeights_surf(), Sundance::BasicSimplicialMesh::getCellDiameters(), Sundance::CurveIntegralCalc::getCurveQuadPoints_line(), Sundance::HNMesh3D::getJacobians(), Sundance::BasicSimplicialMesh::getJacobians(), Sundance::CurveIntegralCalc::getSurfQuadPoints(), and Sundance::MeshBase::outwardNormals().
Definition at line 266 of file SundanceRivaraElement.cpp.
Referenced by Sundance::Rivara::Element::volume().
Definition at line 260 of file SundanceRivaraElement.cpp.
Referenced by Sundance::Rivara::Element::volume().
Expr Sundance::curl | ( | const Expr & | f | ) | [related] |
Definition at line 84 of file SundanceVectorCalculus.cpp.
References cross(), gradient(), and Sundance::Expr::size().
std::string Sundance::describeFunction | ( | const Expr & | f | ) |
Definition at line 44 of file SundanceFuncWithBasis.cpp.
References Sundance::FunctionWithID::fid(), Sundance::FuncElementBase::name(), Playa::Handle< PointerType >::ptr(), Sundance::Expr::size(), and Sundance::FunctionIdentifier::toString().
static Time& Sundance::dfCtorTimer | ( | ) | [static] |
Definition at line 58 of file SundanceDiscreteFunction.cpp.
Referenced by Sundance::DiscreteFunction::DiscreteFunction().
Array< Array< int > > Sundance::distinctIndexTuples | ( | int | m, | |
int | n | |||
) |
Generate the (n-choose-m) distinct index combinations for choosing m entries from an array of n elements.
Definition at line 550 of file SundanceCombinatorialUtils.cpp.
Referenced by chainRuleTerms().
Expr Sundance::div | ( | const Expr & | f | ) | [related] |
Deriv Sundance::divergenceDeriv | ( | const SymbolicFunc * | symbFunc | ) |
Definition at line 52 of file SundanceFunctionalEvaluator.cpp.
References Sundance::FunctionalEvaluator::evaluate().
Referenced by Sundance::ForwardProblemTestBase::cellSize(), H1Norm(), L2Norm(), main(), Sundance::LinearEigenproblem::makeEigenfunctions(), and readbackTester().
int Sundance::exFacetIndexToUFCFacetIndex | ( | int | meshDim, | |
int | permKey, | |||
int | exFacetID | |||
) |
Definition at line 164 of file SundanceVertexSort.cpp.
References exVertPosToUFCVertPos(), and mapExSideToMissingVertex().
Referenced by Sundance::ExodusMeshReader::fillMesh().
Array< int > Sundance::exSide | ( | int | f, | |
const Array< int > & | verts | |||
) |
Array< int > Sundance::exSideVertPos | ( | int | dim, | |
int | f | |||
) |
int Sundance::exVertPosToUFCVertPos | ( | int | meshDim, | |
int | permKey, | |||
int | exVertPos | |||
) |
Definition at line 150 of file SundanceVertexSort.cpp.
References getKeyedPerm(), and Playa::Out::os().
Referenced by exFacetIndexToUFCFacetIndex().
int Sundance::factorial | ( | const MultipleDeriv & | ms | ) |
Definition at line 340 of file SundanceMultipleDeriv.cpp.
References Sundance::Map< Key, Value, Compare >::containsKey(), and Sundance::Map< Key, Value, Compare >::put().
int Sundance::factorial | ( | const MultiSet< int > & | ms | ) | [inline] |
Definition at line 279 of file SundanceCombinatorialUtils.hpp.
References Sundance::Map< Key, Value, Compare >::containsKey(), and Sundance::Map< Key, Value, Compare >::put().
Referenced by chainRuleMultiplicity().
int Sundance::finalize | ( | ) |
Definition at line 100 of file Sundance.cpp.
References Sundance::SundanceGlobal::finalize().
Referenced by main().
Array< CFMeshPair > Sundance::findDisjointFilters | ( | const Array< CellFilter > & | filters, | |
const Array< Set< int > > & | funcs, | |||
const Mesh & | mesh | |||
) |
Definition at line 172 of file SundanceCFMeshPair.cpp.
References csPartitionTimer(), and resolveSets().
Referenced by Sundance::DOFMapBuilder::funcDomains().
int Sundance::findEnclosingCell | ( | const Mesh & | mesh, | |
int | cellDim, | |||
int | initialGuessLID, | |||
const double * | x | |||
) | [related] |
Definition at line 133 of file SundanceGeomUtils.cpp.
References cellContainsPoint(), Sundance::Set< Key, Compare >::contains(), maximalNeighbors(), and Sundance::Set< Key, Compare >::put().
double Sundance::fitPower | ( | const Array< double > & | h, | |
const Array< double > & | err | |||
) |
Compute the exponent that best fits the measured errors to a power law
.
Definition at line 94 of file SundanceProblemTesting.cpp.
References pow().
Referenced by Sundance::ForwardProblemTestBase::runTestSequence().
Deriv Sundance::funcDeriv | ( | const SymbolicFunc * | symbFunc, | |
const MultiIndex & | mi | |||
) | [related] |
Definition at line 345 of file SundanceDeriv.cpp.
Deriv Sundance::funcDeriv | ( | const SymbolicFunc * | symbFunc | ) | [related] |
Definition at line 339 of file SundanceDeriv.cpp.
Deriv Sundance::funcDeriv | ( | const SymbolicFuncElement * | symbFunc, | |
const MultiIndex & | mi | |||
) | [related] |
Definition at line 333 of file SundanceDeriv.cpp.
Deriv Sundance::funcDeriv | ( | const SymbolicFuncElement * | symbFunc | ) | [related] |
Definition at line 328 of file SundanceDeriv.cpp.
Referenced by Sundance::FunctionalPolynomial::FunctionalPolynomial(), Sundance::UnknownParameterElement::internalFindC(), Sundance::SymbolicFuncElement::internalFindC(), Sundance::UnknownParameterElement::internalFindW(), Sundance::SymbolicFuncElement::internalFindW(), and makeDeriv().
Mesh Sundance::getDiscreteFunctionMesh | ( | const Expr & | u | ) | [related] |
Definition at line 324 of file SundanceDiscreteFunction.cpp.
References Sundance::DiscreteFunctionData::getData(), Sundance::DiscreteFunctionData::mesh(), Sundance::DiscreteFunction::mesh(), Playa::Handle< PointerType >::ptr(), and Sundance::Expr::size().
Referenced by Sundance::DoublingStepController::write().
Vector<double> Sundance::getDiscreteFunctionVector | ( | const Expr & | u | ) | [related] |
Definition at line 289 of file SundanceDiscreteFunction.cpp.
References Sundance::DiscreteFunctionData::getData(), Sundance::DiscreteFunctionData::getVector(), Sundance::DiscreteFunction::getVector(), Playa::Handle< PointerType >::ptr(), and Sundance::Expr::size().
Referenced by addVecToDiscreteFunction(), Sundance::ThresholdEventDetector::checkForEvent(), Sundance::DefaultExprComparison::diff(), Sundance::PDEConstrainedObjBase::eval(), Sundance::PDEConstrainedObjBase::evalGrad(), Sundance::PDEConstrainedObjBase::getInit(), Sundance::NLOp::getInitialGuess(), Sundance::DoublingStepController::run(), Sundance::NLOp::setInitialGuess(), and updateDiscreteFunction().
DiscreteSpace Sundance::getDiscreteSpace | ( | const Expr & | u | ) | [related] |
void Sundance::getKeyedPerm | ( | int | key, | |
Array< int > & | digits | |||
) |
Return the permutation that produces the specified key
Definition at line 129 of file SundanceVertexSort.cpp.
References iPow().
Referenced by exVertPosToUFCVertPos().
static Time& Sundance::getLocalValsTimer | ( | ) | [static] |
Definition at line 52 of file SundanceDiscreteFunction.cpp.
Referenced by Sundance::DiscreteFunction::getLocalValues().
std::string Sundance::getPathStr | ( | ) |
RCP< const CommonFuncDataStub > Sundance::getSharedFunctionData | ( | const FuncElementBase * | f | ) |
Definition at line 579 of file SundanceFunctionSupportResolver.cpp.
References Sundance::SymbolicFuncElement::commonData().
Referenced by Sundance::FunctionSupportResolver::FunctionSupportResolver().
Expr Sundance::gradient | ( | int | dim | ) | [related] |
Definition at line 39 of file SundanceVectorCalculus.cpp.
Referenced by curl(), Sundance::Lagrange::evalOnquad(), Sundance::Lagrange::evalOnTriangle(), Sundance::EdgeLocalizedBasis::evalOnTriangle(), Sundance::Bubble::evalOnTriangle(), H1Norm(), H1Seminorm(), NitschePoissonDirichletBC(), NitscheStokesNoSlipBC(), Coupled1DTest::prob(), Helmholtz1DTest::prob(), Poisson1DTest::prob(), and SimplePoisson1DTest::prob().
double Sundance::H1Norm | ( | const Mesh & | mesh, | |
const CellFilter & | filter, | |||
const Expr & | f, | |||
const QuadratureFamily & | quad, | |||
const WatchFlag & | watch | |||
) | [related] |
Definition at line 188 of file SundanceFunctional.cpp.
References evaluateIntegral(), gradient(), and Sundance::Mesh::spatialDim().
Referenced by checkErrorNorms().
double Sundance::H1Seminorm | ( | const Mesh & | mesh, | |
const CellFilter & | filter, | |||
const Expr & | f, | |||
const QuadratureFamily & | quad, | |||
const WatchFlag & | watch | |||
) | [related] |
Definition at line 177 of file SundanceFunctional.cpp.
References gradient(), L2Norm(), and Sundance::Mesh::spatialDim().
Referenced by checkErrorNorms().
void Sundance::handleException | ( | std::exception & | e | ) |
Definition at line 73 of file Sundance.cpp.
References Sundance::SundanceGlobal::handleException().
Referenced by main().
bool Sundance::hasParameter | ( | const MultipleDeriv & | d | ) |
Definition at line 368 of file SundanceMultipleDeriv.cpp.
Array<Array<Array<T> > > Sundance::indexArrangements | ( | const MultiSet< T > & | mu, | |
const Array< int > & | k | |||
) | [inline] |
Definition at line 220 of file SundanceCombinatorialUtils.hpp.
Array<Array<Array<int> > > Sundance::indexArrangements | ( | const MultiSet< int > & | mu, | |
const Array< int > & | k | |||
) |
Array< Array< int > > Sundance::indexCombinations | ( | const Array< int > & | s | ) |
For a given integer vector of length N, find all combinations of integers (i_1, 1_2, ... i_N) such that . For example, if
, return
{ {0,0}, {0,1}, {0,2}, {1,0}, {1,1}, {1,2} }
Definition at line 399 of file SundanceCombinatorialUtils.cpp.
Referenced by chainRuleDerivsOfArgs().
int Sundance::init | ( | int * | argc, | |
char *** | argv | |||
) |
Definition at line 96 of file Sundance.cpp.
References Sundance::SundanceGlobal::init().
Referenced by main(), Sundance::NonlinearUnaryOpEvaluator::NonlinearUnaryOpEvaluator(), and Sundance::UserDefOpEvaluator::UserDefOpEvaluator().
void Sundance::insertionSort | ( | Teuchos::Array< T > & | A | ) | [inline] |
IntVec Sundance::intVec | ( | int | a, | |
int | b, | |||
int | c, | |||
int | d, | |||
int | e | |||
) | [inline] |
Definition at line 148 of file SundanceIntVec.hpp.
IntVec Sundance::intVec | ( | int | a, | |
int | b, | |||
int | c, | |||
int | d | |||
) | [inline] |
Definition at line 141 of file SundanceIntVec.hpp.
IntVec Sundance::intVec | ( | int | a, | |
int | b, | |||
int | c | |||
) | [inline] |
Definition at line 134 of file SundanceIntVec.hpp.
IntVec Sundance::intVec | ( | int | a, | |
int | b | |||
) | [inline] |
Definition at line 127 of file SundanceIntVec.hpp.
IntVec Sundance::intVec | ( | int | a | ) | [inline] |
Definition at line 120 of file SundanceIntVec.hpp.
void Sundance::invertMap | ( | const Map< int, int > & | in, | |
Map< int, int > & | out | |||
) |
Definition at line 215 of file SundanceMeshIOUtils.cpp.
References Sundance::Map< Key, Value, Compare >::put().
Referenced by serialPartition().
int Sundance::iPow | ( | int | base, | |
int | n | |||
) |
bool Sundance::isSquareMatrix | ( | const Expr & | x, | |
int & | N | |||
) | [related] |
Definition at line 153 of file SundanceVectorCalculus.cpp.
References isVector(), Sundance::Expr::size(), and Sundance::Expr::totalSize().
Referenced by colonProduct().
bool Sundance::isVector | ( | const Expr & | x, | |
int & | N | |||
) | [related] |
Definition at line 138 of file SundanceVectorCalculus.cpp.
References Sundance::Expr::size(), and Sundance::Expr::totalSize().
Referenced by isSquareMatrix(), and outerProduct().
double Sundance::L2Norm | ( | const Mesh & | mesh, | |
const CellFilter & | domain, | |||
const Expr & | f, | |||
const QuadratureFamily & | quad, | |||
const WatchFlag & | watch | |||
) | [related] |
Definition at line 167 of file SundanceFunctional.cpp.
References evaluateIntegral().
Referenced by checkErrorNorms(), Sundance::L2NormCalculator::computeNorms(), and H1Seminorm().
Expr Sundance::List | ( | const Expr & | a, | |
const Expr & | b, | |||
const Expr & | c, | |||
const Expr & | d, | |||
const Expr & | e, | |||
const Expr & | f, | |||
const Expr & | g, | |||
const Expr & | h | |||
) | [related] |
Definition at line 1083 of file SundanceExpr.cpp.
Expr Sundance::List | ( | const Expr & | a, | |
const Expr & | b, | |||
const Expr & | c, | |||
const Expr & | d, | |||
const Expr & | e, | |||
const Expr & | f, | |||
const Expr & | g | |||
) | [related] |
Definition at line 1076 of file SundanceExpr.cpp.
Expr Sundance::List | ( | const Expr & | a, | |
const Expr & | b, | |||
const Expr & | c, | |||
const Expr & | d, | |||
const Expr & | e, | |||
const Expr & | f | |||
) | [related] |
Definition at line 1070 of file SundanceExpr.cpp.
Expr Sundance::List | ( | const Expr & | a, | |
const Expr & | b, | |||
const Expr & | c, | |||
const Expr & | d, | |||
const Expr & | e | |||
) | [related] |
Definition at line 1064 of file SundanceExpr.cpp.
Definition at line 1058 of file SundanceExpr.cpp.
Definition at line 1053 of file SundanceExpr.cpp.
Definition at line 1048 of file SundanceExpr.cpp.
Definition at line 1043 of file SundanceExpr.cpp.
Referenced by cross(), Coupled1DTest::exactSoln(), Sundance::EquationSet::init(), Sundance::PointData::init(), NitschePoisson2DTest::prob(), and Coupled1DTest::prob().
Set< Pair< MultiSet< int > > > Sundance::loadPartitions | ( | int | x, | |
int | n, | |||
const MultiSet< int > & | left, | |||
const MultiSet< int > & | right | |||
) |
Form all pairs of multisets that can be generated from an initial pair by adding n copies of entry x. This is used in the partitioning of multisets.
Definition at line 260 of file SundanceCombinatorialUtils.cpp.
References Sundance::Set< Key, Compare >::put(), and Sundance::MultiSet< Key >::put().
Referenced by binaryPartition().
MultipleDeriv Sundance::makeDeriv | ( | const Expr & | a, | |
const Expr & | b, | |||
const Expr & | c | |||
) |
Definition at line 585 of file SundanceChainRuleEvaluator.cpp.
References funcDeriv(), Playa::Handle< PointerType >::ptr(), and Sundance::MultiSet< Key >::put().
MultipleDeriv Sundance::makeDeriv | ( | const Expr & | a, | |
const Expr & | b | |||
) |
Definition at line 563 of file SundanceChainRuleEvaluator.cpp.
References funcDeriv(), Playa::Handle< PointerType >::ptr(), and Sundance::MultiSet< Key >::put().
MultipleDeriv Sundance::makeDeriv | ( | const Expr & | a | ) |
Definition at line 549 of file SundanceChainRuleEvaluator.cpp.
References funcDeriv(), Playa::Handle< PointerType >::ptr(), and Sundance::MultiSet< Key >::put().
FixedArray<4,T> Sundance::makeFA | ( | const T & | a, | |
const T & | b, | |||
const T & | c, | |||
const T & | d | |||
) | [inline] |
Definition at line 119 of file SundanceFixedArray.hpp.
FixedArray<3,T> Sundance::makeFA | ( | const T & | a, | |
const T & | b, | |||
const T & | c | |||
) | [inline] |
Definition at line 107 of file SundanceFixedArray.hpp.
FixedArray<2,T> Sundance::makeFA | ( | const T & | a, | |
const T & | b | |||
) | [inline] |
Definition at line 97 of file SundanceFixedArray.hpp.
FunctionIdentifier Sundance::makeFuncID | ( | int | tensorOrder | ) | [related] |
Definition at line 108 of file SundanceFunctionIdentifier.cpp.
References scalarAlgebraSpec().
Referenced by Sundance::DiscreteFunctionStub::initTensor(), Sundance::DiscreteFunctionStub::initTensorSpectral(), Sundance::TestFunctionStub::TestFunctionStub(), and Sundance::UnknownFunctionStub::UnknownFunctionStub().
MultipleDeriv Sundance::makeMultiDeriv | ( | const Deriv & | d | ) |
Definition at line 361 of file SundanceMultipleDeriv.cpp.
References Sundance::MultiSet< Key >::put().
Referenced by Sundance::UnknownParameterElement::internalFindC(), Sundance::UnknownParameterElement::internalFindW(), and Xx().
int Sundance::mapExSideToMissingVertex | ( | int | dim, | |
int | exFaceID | |||
) |
void Sundance::maximalNeighbors | ( | const Mesh & | mesh, | |
int | cellDim, | |||
int | cellLID, | |||
const Array< int > & | facetLID, | |||
std::list< int > & | rtn | |||
) | [related] |
Definition at line 212 of file SundanceGeomUtils.cpp.
References Sundance::Mesh::getCofacets().
Referenced by findEnclosingCell().
Teuchos::ParameterList Sundance::mergeParamLists | ( | const ParameterList & | pDef, | |
const ParameterList & | pIn | |||
) |
Definition at line 40 of file SundanceParamUtils.cpp.
Referenced by Sundance::ParameterControlledObjectWithVerbosity< EquationSet >::mergeParams().
Array< Array< MultiSet< int > > > Sundance::multisetCompositions | ( | int | s, | |
const MultiSet< int > & | x | |||
) |
Return the s-term compositions of a multiset. These are the permutations of the s-term partitions.
Definition at line 524 of file SundanceCombinatorialUtils.cpp.
References Sundance::Set< Key, Compare >::begin(), Sundance::Set< Key, Compare >::end(), multisetPartitions(), and sort().
Referenced by chainRuleTerms().
Return the partitions of a multiset. The partitions are sets of subsets such that the union of the members equals the original multiset.
Definition at line 333 of file SundanceCombinatorialUtils.cpp.
References Sundance::Set< Key, Compare >::begin(), binaryPartition(), Sundance::Set< Key, Compare >::end(), Sundance::MultiSet< Key >::put(), and Sundance::Set< Key, Compare >::put().
Referenced by multisetCompositions().
Array<Array<MultiSet<int> > > Sundance::multisetSubsetNTuples | ( | int | n, | |
const MultiSet< int > & | x | |||
) |
Return all N-tuples of subsets of a multisets such that the union of tuple entries is a subset of the original multiset. For example, if the input multiset is {a,b,b}, the subsets are
The 2-tuples are all pairs drawn from that collection. Of these, only
({a}, {b}) ({a}, {b, b})
satisfy the requirement that the union of tuple entries is a subset of {a,b,b}.
Set< MultipleDeriv > Sundance::multisetSubsets | ( | const MultipleDeriv & | x | ) |
Return all subsets of a multiset.
Definition at line 1164 of file SundanceExprWithChildren.cpp.
References bitsOfAnInteger(), Sundance::MultiSet< Key >::elements(), pow2(), Sundance::Set< Key, Compare >::put(), and Sundance::MultiSet< Key >::put().
Return all subsets of a multiset.
Definition at line 485 of file SundanceCombinatorialUtils.cpp.
References bitsOfAnInteger(), Sundance::MultiSet< Key >::elements(), pow2(), Sundance::Set< Key, Compare >::put(), and Sundance::MultiSet< Key >::put().
Referenced by chainRuleTerms().
bool Sundance::nextNum | ( | Array< int > & | digits, | |
const Array< int > & | radix | |||
) |
Get the next mixed-radix number
Definition at line 49 of file SundanceCombinatorialUtils.cpp.
Referenced by Sundance::IntVec::getPartitions(), weightedOrderedPartitions(), and weightedPartitions().
Expr Sundance::NitschePoissonDirichletBC | ( | int | dim, | |
const CellFilter & | cells, | |||
const QuadratureFamily & | quad, | |||
const Expr & | kappa, | |||
const Expr & | v, | |||
const Expr & | u, | |||
const Expr & | uBC, | |||
const double & | gamma | |||
) |
This function forms the expressions that apply the Dirichlet BC via Nitsche's method for the Poisson operator.
Definition at line 42 of file SundanceNitscheBC.cpp.
References CellNormalExpr(), and gradient().
Referenced by NitschePoisson2DTest::prob().
Expr Sundance::NitscheStokesNoSlipBC | ( | const CellFilter & | cells, | |
const QuadratureFamily & | quad, | |||
const Expr & | nu, | |||
const Expr & | v, | |||
const Expr & | q, | |||
const Expr & | u, | |||
const Expr & | p, | |||
const Expr & | uBC, | |||
const double & | gamma1, | |||
const double & | gamma2 | |||
) |
This function forms the expressions that apply the Dirichlet BC via Nitsche's method for the Stokes operator.
cells | the surface on which the BC is to be applied | |
quad | the quadrature rule to be used | |
nu | the viscosity, which may be a function of velocity | |
v | velocity test function | |
q | pressure test function | |
u | velocity unknown function | |
p | pressure unknown function | |
uBC | specified velocity at surface |
Definition at line 59 of file SundanceNitscheBC.cpp.
References CellNormalExpr(), gradient(), and Sundance::Expr::size().
Array< Array< int > > Sundance::nonNegCompositions | ( | int | n, | |
int | J | |||
) |
Return the non-negative compositions of an integer into J terms
Definition at line 215 of file SundanceCombinatorialUtils.cpp.
References partitionInteger(), and sort().
Referenced by chainRuleDerivsOfArgs(), and restrictedCompositions().
AlgebraSpecifier Sundance::normalAlgebraSpec | ( | ) | [related] |
Definition at line 134 of file SundanceAlgebraSpecifier.cpp.
References NormalAT.
Referenced by Sundance::FunctionIdentifier::createNormal().
Deriv Sundance::normalDeriv | ( | const SymbolicFuncElement * | symbFunc | ) | [related] |
Point Sundance::operator* | ( | const double & | a, | |
const Point & | p | |||
) | [inline] |
Definition at line 266 of file SundancePoint.hpp.
Definition at line 171 of file SundanceADReal.cpp.
Definition at line 161 of file SundanceADReal.cpp.
Definition at line 166 of file SundanceADReal.cpp.
std::ostream& Sundance::operator<< | ( | std::ostream & | os, | |
const CoordinateSystem & | cs | |||
) | [inline] |
Definition at line 168 of file SundanceCoordinateSystem.hpp.
References Playa::Handle< PointerType >::ptr().
std::ostream& Sundance::operator<< | ( | std::ostream & | os, | |
const IntegrationCellSpecifier & | s | |||
) | [inline] |
Definition at line 46 of file SundanceIntegrationCellSpecifier.hpp.
References AllTermsNeedCofacets, and NoTermsNeedCofacets.
std::ostream& Sundance::operator<< | ( | std::ostream & | os, | |
const CellJacobianBatch & | J | |||
) | [inline] |
Definition at line 185 of file SundanceCellJacobianBatch.hpp.
References Sundance::CellJacobianBatch::print().
std::ostream& Sundance::operator<< | ( | std::ostream & | os, | |
const CFMeshPair & | c | |||
) | [inline] |
Definition at line 101 of file SundanceCFMeshPair.hpp.
References Sundance::CFMeshPair::filter(), Sundance::CellFilter::getCells(), and Sundance::CFMeshPair::mesh().
std::ostream& Sundance::operator<< | ( | std::ostream & | os, | |
const ComputationType & | ct | |||
) | [inline] |
Definition at line 49 of file SundanceComputationType.hpp.
References FunctionalAndGradient, FunctionalOnly, MatrixAndVector, Sensitivities, and VectorOnly.
std::ostream& Sundance::operator<< | ( | std::ostream & | os, | |
const OrderedPair< A, B > & | p | |||
) | [inline] |
Definition at line 117 of file SundanceOrderedTuple.hpp.
std::ostream& Sundance::operator<< | ( | std::ostream & | os, | |
const FunctorDomain & | f | |||
) | [inline] |
Definition at line 159 of file SundanceFunctorDomain.hpp.
References Sundance::FunctorDomain::description().
std::ostream& Sundance::operator<< | ( | std::ostream & | os, | |
const SortedPair< T > & | p | |||
) | [inline] |
Definition at line 178 of file SundanceCombinatorialUtils.hpp.
std::ostream& Sundance::operator<< | ( | std::ostream & | os, | |
const Pair< T > & | p | |||
) | [inline] |
Definition at line 159 of file SundanceCombinatorialUtils.hpp.
double Sundance::orient2D | ( | const double * | A, | |
const double * | B, | |||
const double * | x | |||
) | [related] |
Definition at line 122 of file SundanceGeomUtils.cpp.
Referenced by cellContainsPoint(), Sundance::AToCPointLocator::cellContainsPoint(), and volume().
Expr Sundance::outerProduct | ( | const Expr & | A, | |
const Expr & | B | |||
) | [related] |
Teuchos::Array< std::string > Sundance::parsePathStr | ( | ) |
Definition at line 82 of file SundancePathUtils.cpp.
References getPathStr().
Referenced by searchForFile().
Array< Array< int > > Sundance::partitionInteger | ( | int | n | ) |
Return partitions of an integer
Definition at line 16 of file SundanceCombinatorialUtils.cpp.
Referenced by compositions(), and nonNegCompositions().
bool Sundance::passFailTest | ( | const std::string & | statusMsg, | |
bool | status, | |||
double | error, | |||
double | tol | |||
) |
bool Sundance::passFailTest | ( | double | error, | |
double | tol | |||
) |
bool Sundance::passFailTest | ( | bool | pass | ) |
Definition at line 77 of file Sundance.cpp.
References Sundance::SundanceGlobal::passFailTest().
Referenced by main().
Definition at line 63 of file SundanceStdMathOps.hpp.
References Playa::Handle< PointerType >::ptr().
ADReal Sundance::pow | ( | const ADReal & | x, | |
const double & | y | |||
) | [inline] |
Definition at line 144 of file SundanceADReal.hpp.
References Sundance::ADReal::gradient(), and Sundance::ADReal::value().
Referenced by Sundance::RefinementTransformation::apply(), Sundance::HNMesh3D::createLeafNumbering_sophisticated(), Sundance::HNMesh2D::createLeafNumbering_sophisticated(), Sundance::PowerFunctor::eval0(), Sundance::PowerFunctor::eval1(), Sundance::PowerFunctor::eval2(), Sundance::PowerFunctor::eval3(), Sundance::Bubble::evalOnTet(), Sundance::Bubble::evalOnTriangle(), Sundance::FeketeTriangleQuadrature::evalPKDpolynomials(), fitPower(), force(), main(), rhsF(), Sundance::DoublingStepController::run(), Sundance::TriangleQuadrature::test(), Sundance::TetQuadrature::test(), Sundance::QuadQuadrature::test(), Sundance::FeketeTriangleQuadrature::test(), Sundance::FeketeQuadQuadrature::test(), Sundance::FeketeBrickQuadrature::test(), and Sundance::BrickQuadrature::test().
int Sundance::pow2 | ( | int | n | ) |
Compute the n-th power of 2
Definition at line 603 of file SundanceCombinatorialUtils.cpp.
Referenced by bitsOfAnInteger(), multisetSubsets(), and Sundance::MultipleDeriv::productRulePermutations().
void Sundance::printCell | ( | const Mesh & | mesh, | |
int | cellLID | |||
) |
Definition at line 198 of file SundanceGeomUtils.cpp.
References Sundance::Mesh::getFacetArray(), Sundance::Mesh::nodePosition(), and Sundance::Mesh::spatialDim().
void Sundance::printQuad | ( | std::ostream & | os, | |
const Array< Point > & | pts, | |||
const Array< double > & | wgts | |||
) | [related] |
Definition at line 436 of file SundanceQuadratureFamily.cpp.
Referenced by Sundance::ElementIntegral::getQuad().
void Sundance::pSet | ( | const IntVec & | lambda, | |
const IntVec & | nu, | |||
int | s, | |||
Array< Array< IntVec > > & | K, | |||
Array< Array< IntVec > > & | L | |||
) |
Definition at line 155 of file SundanceCombinatorialUtils.cpp.
References Playa::abs(), Sundance::IntVec::getPartitions(), and weightedOrderedPartitions().
Point Sundance::pullback | ( | const Mesh & | mesh, | |
int | cellDim, | |||
int | cellLID, | |||
const double * | x | |||
) | [related] |
Definition at line 165 of file SundanceGeomUtils.cpp.
References Sundance::Mesh::getFacetArray(), and Sundance::Mesh::nodePositionView().
double Sundance::readbackTester | ( | const std::string & | infile, | |
const MPIComm & | comm, | |||
int | verb = 0 | |||
) |
This function reads in an exodus file, discretizes a function on it, and computes some functional on it. It then writes the field, reads it back, and computes the same functional on the new copy. The return value is the difference between the two functionals which should be zero if all is running correctly.
Definition at line 143 of file SundanceMeshIOUtils.cpp.
References Sundance::FieldWriter::addField(), Sundance::FieldWriter::addMesh(), evaluateIntegral(), Sundance::MeshSource::getMesh(), Sundance::L2Projector::project(), readNodalFields(), Playa::Out::root(), Sundance::Mesh::spatialDim(), and Sundance::FieldWriter::write().
Expr Sundance::readNodalFields | ( | const MeshSource & | mesher, | |
const Mesh & | mesh, | |||
const VectorType< double > & | vecType, | |||
int | verb = 0 | |||
) |
Read the node-based fields from a mesher
Definition at line 14 of file SundanceMeshIOUtils.cpp.
References Sundance::DiscreteFunction::discFunc(), Sundance::MeshSource::getAttributes(), Sundance::DiscreteFunction::getVector(), Playa::loadable(), Sundance::DiscreteFunction::map(), Sundance::Mesh::numCells(), PLAYA_ROOT_MSG1, PLAYA_ROOT_MSG2, PLAYA_ROOT_MSG3, and Sundance::DiscreteFunction::setVector().
Referenced by readbackTester().
Expr Sundance::readSerialGridField | ( | const std::string & | gridFile, | |
double | ax, | |||
double | bx, | |||
double | ay, | |||
double | by, | |||
const VectorType< double > & | vecType, | |||
const MeshType & | meshType, | |||
Mesh & | mesh | |||
) |
Read a 2D field stored in simple ASCII format
nx ny # num x pts, num y pts u1_1 u2_1 ... uN_1 # data at node 1 u1_2 u2_2 ... uN_2 # data at node 2
Definition at line 76 of file SundanceMeshIOUtils.cpp.
References Sundance::DiscreteFunction::discFunc(), Sundance::MeshSource::getMesh(), Sundance::DiscreteFunction::getVector(), Playa::loadable(), Sundance::DiscreteFunction::map(), Sundance::Mesh::numCells(), and Sundance::DiscreteFunction::setVector().
Array<BasisFamily> Sundance::replicate | ( | const Array< BasisFamily > & | b, | |
int | n | |||
) | [inline] |
Definition at line 287 of file SundanceBasisFamily.hpp.
Array<BasisFamily> Sundance::replicate | ( | const BasisFamily & | b, | |
int | n | |||
) | [inline] |
Definition at line 278 of file SundanceBasisFamily.hpp.
Array<RCP<BasisDOFTopologyBase> > Sundance::replicate | ( | const RCP< BasisDOFTopologyBase > & | model, | |
int | n | |||
) | [related] |
Definition at line 142 of file SundanceMapStructure.cpp.
Referenced by Sundance::DiscreteSpace::DiscreteSpace(), and Sundance::MapStructure::MapStructure().
void Sundance::reportFailure | ( | const MPIComm & | comm | ) |
Call this function upon catching an exception at a point before a collective operation. This function will do an AllReduce in conjunction with calls to either this function or its partner, checkForFailures(), on the other processors. This procedure has the effect of communicating to the other processors that an exception has been detected on this one.
Definition at line 10 of file SundanceCollectiveExceptionCheck.cpp.
References Playa::MPIComm::allReduce(), Playa::MPIDataType::intType(), and Playa::MPIOp::sumOp().
Referenced by Sundance::BasicSimplicialMesh::assignIntermediateCellGIDs(), Sundance::PartitionedLineMesher::fillMesh(), Sundance::BasicSimplicialMesh::resolveEdgeOwnership(), and Sundance::BasicSimplicialMesh::synchronizeNeighborLists().
Array< CFMeshPair > Sundance::resolvePair | ( | const CFMeshPair & | a, | |
const CFMeshPair & | b | |||
) |
Definition at line 124 of file SundanceCFMeshPair.cpp.
References Sundance::CFMeshPair::intersection(), and Sundance::CFMeshPair::setMinus().
Referenced by resolveSets().
Array< CFMeshPair > Sundance::resolveSets | ( | const Array< CFMeshPair > & | s | ) |
Definition at line 137 of file SundanceCFMeshPair.cpp.
References Sundance::CFMeshPair::isEmpty(), and resolvePair().
Referenced by findDisjointFilters().
void Sundance::restrictedCompositions | ( | int | n, | |
int | M, | |||
Array< Array< int > > & | rComps | |||
) |
Get the compositions of length M of an integer n.
Definition at line 210 of file SundanceCombinatorialUtils.cpp.
References nonNegCompositions().
Referenced by Sundance::IntVec::getPartitions().
AlgebraSpecifier Sundance::scalarAlgebraSpec | ( | ) | [related] |
Definition at line 128 of file SundanceAlgebraSpecifier.cpp.
References ScalarAT.
Referenced by makeFuncID().
std::string Sundance::searchForFile | ( | const std::string & | name | ) |
Definition at line 44 of file SundancePathUtils.cpp.
References parsePathStr().
Referenced by Sundance::ExodusMeshReader::fillMesh(), and Sundance::MeshReaderBase::openFile().
void Sundance::serialPartition | ( | const RCP< SerialPartitionerBase > & | part, | |
int | numProc, | |||
const MeshSource & | mesher, | |||
const std::string & | outfile | |||
) |
Partition a mesh and write the parts to exodus files
Definition at line 225 of file SundanceMeshIOUtils.cpp.
References Sundance::FieldWriter::addField(), Sundance::FieldWriter::addMesh(), Sundance::Set< Key, Compare >::begin(), Sundance::MeshSource::comm(), Sundance::Set< Key, Compare >::end(), Sundance::Map< Key, Value, Compare >::get(), Sundance::MeshSource::getAttributes(), Sundance::MeshSource::getMesh(), Playa::MPIComm::getNProc(), Sundance::FieldWriter::impersonateParallelProc(), invertMap(), Playa::Out::os(), Sundance::Set< Key, Compare >::size(), Sundance::Mesh::spatialDim(), toString(), Teuchos::toString(), and Sundance::FieldWriter::write().
void Sundance::setDiscreteFunctionVector | ( | Expr | u, | |
const Vector< double > & | v | |||
) | [related] |
Definition at line 252 of file SundanceDiscreteFunction.cpp.
References Playa::Vector< Scalar >::getBlock(), Sundance::DiscreteFunctionData::getData(), Playa::Handle< PointerType >::ptr(), Sundance::DiscreteFunctionData::setVector(), Sundance::DiscreteFunction::setVector(), and Sundance::Expr::size().
Referenced by addVecToDiscreteFunction(), Sundance::PDEConstrainedObjBase::eval(), Sundance::DoublingStepController::run(), Sundance::NonlinearPDEConstrainedObj::solveState(), Sundance::LinearPDEConstrainedObj::solveState(), Sundance::NonlinearPDEConstrainedObj::solveStateAndAdjoint(), Sundance::LinearPDEConstrainedObj::solveStateAndAdjoint(), updateDiscreteFunction(), Sundance::NLOp::updateDiscreteFunctionValue(), and Sundance::LinearSolveDriver::writeIntoSolutionExpr().
void Sundance::setOption | ( | const std::string & | optionTrueName, | |
const std::string & | optionFalseName, | |||
bool & | value, | |||
const std::string & | helpMsg | |||
) |
void Sundance::setOption | ( | const std::string & | optionName, | |
std::string & | value, | |||
const std::string & | helpMsg | |||
) |
void Sundance::setOption | ( | const std::string & | optionName, | |
double & | value, | |||
const std::string & | helpMsg | |||
) |
void Sundance::setOption | ( | const std::string & | optionName, | |
int & | value, | |||
const std::string & | helpMsg | |||
) |
Definition at line 104 of file Sundance.cpp.
References Sundance::SundanceGlobal::setOption().
Referenced by main().
StdLog Sundance::SUNDANCE_AD_FUNCTOR | ( | sqrt | , | |
StdSqrt | ||||
) |
Sundance::SUNDANCE_AD_FUNCTOR | ( | exp | , | |
StdExp | ||||
) |
Sundance::SUNDANCE_UNARY_FUNCTOR | ( | reciprocal | , | |
StdReciprocal | , | |||
"reciprocal function" | , | |||
NonzeroDomain() | , | |||
1.0/ | x[i], | |||
-f * | f[i][i], | |||
-2.0 *df/ | x[i][i] | |||
) |
Array<Array<BasisFamily> > Sundance::testBasisArray | ( | const RCP< FunctionSupportResolver > & | fsr | ) | [related] |
Definition at line 954 of file SundanceDOFMapBuilder.cpp.
References Sundance::BasisFamily::getBasis().
int& Sundance::testStatus | ( | ) |
Definition at line 88 of file Sundance.cpp.
References Sundance::SundanceGlobal::testStatus().
Referenced by main().
bool Sundance::typeLessThan | ( | const A * | a, | |
const B * | b | |||
) | [inline] |
Definition at line 41 of file SundanceTypeUtils.hpp.
Referenced by Sundance::RaviartThomas::lessThan(), and Sundance::BasisFamilyBase::lessThan().
int Sundance::ufcFacetIndexToExFacetIndex | ( | int | meshDim, | |
int | ufcFacetID | |||
) |
Definition at line 173 of file SundanceVertexSort.cpp.
Referenced by Sundance::ExodusWriter::writeMesh().
Array< int > Sundance::ufcSide | ( | int | f, | |
const Array< int > & | verts | |||
) |
Definition at line 85 of file SundanceVertexSort.cpp.
Array< int > Sundance::ufcSideVertPos | ( | int | dim, | |
int | f | |||
) |
Definition at line 59 of file SundanceVertexSort.cpp.
absolute Sundance::UnboundedDomain | ( | ) |
Expr Sundance::unfoldPeriodicDiscreteFunction | ( | const Expr & | f, | |
const string & | name = "" | |||
) |
"Unfold" a discrete function defined on a periodic mesh, producing a function usable on a non-periodic mesh of the same interval
Definition at line 86 of file SundanceUnfoldPeriodicDF.cpp.
References Sundance::DiscreteSpace::createVector(), Sundance::DiscreteFunction::discFunc(), Sundance::DiscreteFunction::discreteSpace(), Sundance::DiscreteFunction::ghostView(), Playa::loadable(), Sundance::DiscreteSpace::map(), Sundance::DiscreteSpace::mesh(), Sundance::Mesh::numCells(), unfoldPeriodicDiscreteSpace(), and Sundance::DiscreteFunction::updateGhosts().
DiscreteSpace Sundance::unfoldPeriodicDiscreteSpace | ( | const DiscreteSpace & | space | ) |
"Unfold" a periodic discrete space, producing a non-periodic discretization of the same interval
Definition at line 77 of file SundanceUnfoldPeriodicDF.cpp.
References Sundance::DiscreteSpace::basis(), Sundance::DiscreteSpace::mesh(), unfoldPeriodicMesh(), and Sundance::DiscreteSpace::vecType().
Referenced by unfoldPeriodicDiscreteFunction().
Mesh Sundance::unfoldPeriodicMesh | ( | const Mesh & | mesh | ) |
"Unfold" a periodic mesh to produce a 1D mesh without duplicated vertices
Definition at line 55 of file SundanceUnfoldPeriodicDF.cpp.
References Sundance::MeshSource::getMesh(), Sundance::Mesh::nodePosition(), Sundance::Mesh::numCells(), Playa::Handle< PointerType >::ptr(), and Playa::MPIComm::self().
Referenced by unfoldPeriodicDiscreteSpace().
Array<Array<BasisFamily> > Sundance::unkBasisArray | ( | const RCP< FunctionSupportResolver > & | fsr | ) | [related] |
Definition at line 968 of file SundanceDOFMapBuilder.cpp.
References Sundance::BasisFamily::getBasis().
void Sundance::updateDiscreteFunction | ( | const Expr & | newVals, | |
Expr | old | |||
) | [related] |
Definition at line 198 of file SundanceDiscreteFunction.cpp.
References Playa::Vector< Scalar >::acceptCopyOf(), getDiscreteFunctionVector(), and setDiscreteFunctionVector().
Referenced by Sundance::DoublingStepController::run(), and Sundance::TransientStepProblem::step().
Array<std::pair<int, int> > Sundance::vectorDimStructure | ( | const BasisFamily & | basis | ) | [related] |
Array<std::pair<int, int> > Sundance::vectorDimStructure | ( | const Array< BasisFamily > & | basis | ) | [related] |
Definition at line 213 of file SundanceBasisFamily.cpp.
Referenced by Sundance::DiscreteSpace::dimStructure(), and vectorDimStructure().
void Sundance::vertexSort | ( | Array< int > & | verts, | |
int * | key | |||
) |
Definition at line 107 of file SundanceVertexSort.cpp.
References insertionSort().
Referenced by Sundance::ExodusMeshReader::fillMesh().
double Sundance::volume | ( | const Mesh & | mesh, | |
int | cellDim, | |||
int | cellLID | |||
) |
Definition at line 97 of file SundanceGeomUtils.cpp.
References Sundance::Mesh::getFacetArray(), Sundance::Mesh::nodePosition(), Sundance::Mesh::nodePositionView(), and orient2D().
Referenced by Sundance::AToCDensitySampler::init().
void Sundance::weightedOrderedPartitions | ( | const IntVec & | v, | |
const Array< int > & | w, | |||
Array< Array< IntVec > > & | parts | |||
) |
Definition at line 110 of file SundanceCombinatorialUtils.cpp.
References Playa::abs(), nextNum(), Sundance::IntVec::size(), and weightedPartitions().
Referenced by pSet().
void Sundance::weightedPartitions | ( | int | n, | |
const Array< int > & | w, | |||
Array< Array< int > > & | parts | |||
) |
Get the weighted partitions of an integer
Definition at line 70 of file SundanceCombinatorialUtils.cpp.
References nextNum().
Referenced by weightedOrderedPartitions().
void Sundance::writeTable | ( | std::ostream & | os, | |
const Tabs & | tab, | |||
const Array< int > & | a, | |||
int | cols | |||
) |
Definition at line 64 of file SundanceOut.cpp.
void Sundance::writeTable | ( | std::ostream & | os, | |
const Tabs & | tab, | |||
const Array< double > & | a, | |||
int | cols | |||
) |
Definition at line 43 of file SundanceOut.cpp.
Referenced by Sundance::IntegralGroup::evaluate(), Sundance::FeketeQuadrature::getAdaptedQuadWeights(), Sundance::QuadratureIntegral::transformOneForm(), Sundance::MaximalQuadratureIntegral::transformOneForm(), Sundance::CurveQuadratureIntegral::transformOneForm(), Sundance::QuadratureIntegral::transformZeroForm(), Sundance::MaximalQuadratureIntegral::transformZeroForm(), and Sundance::CurveQuadratureIntegral::transformZeroForm().
Set< MultipleDeriv > Sundance::Xx | ( | const MultiIndex & | x | ) |
Definition at line 290 of file SundanceMultipleDeriv.cpp.
References coordDeriv(), Sundance::MultiIndex::firstOrderDirection(), makeMultiDeriv(), Sundance::MultiIndex::order(), and Sundance::Set< Key, Compare >::put().
Referenced by Sundance::DiffOp::internalDetermineR(), Sundance::DiffOp::internalFindV(), and Sundance::DiffOp::internalFindW().
Definition at line 104 of file SundanceStdMathFunctors.hpp.
const double & Teuchos::Parameter::value |
Definition at line 104 of file SundanceStdMathFunctors.hpp.
Referenced by Sundance::Lagrange::evalOnBrick(), Sundance::Lagrange::evalOnLine(), Sundance::EdgeLocalizedBasis::evalOnLine(), Sundance::Bubble::evalOnLine(), Sundance::Bernstein::evalOnLine(), Sundance::Legendre::evalOnQuad(), Sundance::Lagrange::evalOnquad(), Sundance::Lagrange::evalOnTet(), Sundance::Bubble::evalOnTet(), Sundance::Bernstein::evalOnTet(), Sundance::Lagrange::evalOnTriangle(), Sundance::EdgeLocalizedBasis::evalOnTriangle(), Sundance::CubicHermite::evalOnTriangle(), Sundance::Bubble::evalOnTriangle(), Sundance::Bernstein::evalOnTriangle(), Sundance::FunctionalEvaluator::evaluate(), and NOX::NOXPlaya::Vector::norm().