Compadre 1.5.5
Loading...
Searching...
No Matches
Compadre_Operators.hpp File Reference

Go to the source code of this file.

Classes

struct  Compadre::SamplingFunctional

Namespaces

namespace  Compadre

Macros

#define make_sampling_functional(input, output, targets, nontrivial, transform)

Enumerations

enum  Compadre::TargetOperation {
  Compadre::ScalarPointEvaluation , Compadre::VectorPointEvaluation , Compadre::LaplacianOfScalarPointEvaluation , Compadre::VectorLaplacianPointEvaluation ,
  Compadre::GradientOfScalarPointEvaluation , Compadre::GradientOfVectorPointEvaluation , Compadre::DivergenceOfVectorPointEvaluation , Compadre::CurlOfVectorPointEvaluation ,
  Compadre::CurlCurlOfVectorPointEvaluation , Compadre::PartialXOfScalarPointEvaluation , Compadre::PartialYOfScalarPointEvaluation , Compadre::PartialZOfScalarPointEvaluation ,
  Compadre::ChainedStaggeredLaplacianOfScalarPointEvaluation , Compadre::GaussianCurvaturePointEvaluation , Compadre::CellAverageEvaluation , Compadre::CellIntegralEvaluation ,
  Compadre::FaceNormalAverageEvaluation , Compadre::FaceNormalIntegralEvaluation , Compadre::EdgeTangentAverageEvaluation , Compadre::EdgeTangentIntegralEvaluation ,
  Compadre::COUNT =20
}
 Available target functionals. More...
enum  Compadre::ReconstructionSpace {
  Compadre::ScalarTaylorPolynomial , Compadre::VectorTaylorPolynomial , Compadre::VectorOfScalarClonesTaylorPolynomial , Compadre::DivergenceFreeVectorTaylorPolynomial ,
  Compadre::BernsteinPolynomial
}
 Space in which to reconstruct polynomial. More...
enum  Compadre::SamplingTransformType { Compadre::Identity , Compadre::SameForAll , Compadre::DifferentEachTarget , Compadre::DifferentEachNeighbor }
 Describes the SamplingFunction relationship to targets, neighbors. More...
enum  Compadre::DenseSolverType { Compadre::QR , Compadre::LU }
 Dense solver type. More...
enum  Compadre::ProblemType { Compadre::STANDARD , Compadre::MANIFOLD }
 Problem type, that optionally can handle manifolds. More...
enum  Compadre::ConstraintType { Compadre::NO_CONSTRAINT , Compadre::NEUMANN_GRAD_SCALAR }
 Constraint type. More...
enum  Compadre::WeightingFunctionType {
  Compadre::Power , Compadre::Gaussian , Compadre::CubicSpline , Compadre::Cosine ,
  Compadre::Sigmoid
}
 Available weighting kernel function types. More...
enum  Compadre::CoordinatesType { Compadre::Ambient , Compadre::Local }

Functions

KOKKOS_INLINE_FUNCTION int Compadre::getTargetOutputTensorRank (const int &index)
KOKKOS_INLINE_FUNCTION int Compadre::getActualReconstructionSpaceRank (const int &index)
 Number of actual components in the ReconstructionSpace.

Variables

constexpr SamplingFunctional Compadre::PointSample = make_sampling_functional(0,0,false,false,(int)Identity)
 Available sampling functionals.
constexpr SamplingFunctional Compadre::VectorPointSample = make_sampling_functional(1,1,false,false,(int)Identity)
 Point evaluations of the entire vector source function.
constexpr SamplingFunctional Compadre::ManifoldVectorPointSample = make_sampling_functional(1,1,false,false,(int)DifferentEachTarget)
constexpr SamplingFunctional Compadre::StaggeredEdgeAnalyticGradientIntegralSample = make_sampling_functional(0,0,true,true,(int)SameForAll)
 Analytical integral of a gradient source vector is just a difference of the scalar source at neighbor and target.
constexpr SamplingFunctional Compadre::StaggeredEdgeIntegralSample = make_sampling_functional(1,0,true,true,(int)DifferentEachNeighbor)
 Samples consist of the result of integrals of a vector dotted with the tangent along edges between neighbor and target.
constexpr SamplingFunctional Compadre::VaryingManifoldVectorPointSample = make_sampling_functional(1,1,false,false,(int)DifferentEachNeighbor)
 For integrating polynomial dotted with normal over an edge.
constexpr SamplingFunctional Compadre::FaceNormalIntegralSample = make_sampling_functional(1,0,false,false,(int)Identity)
 For integrating polynomial dotted with normal over an edge.
constexpr SamplingFunctional Compadre::FaceNormalAverageSample = make_sampling_functional(1,0,false,false,(int)Identity)
 For polynomial dotted with normal on edge.
constexpr SamplingFunctional Compadre::EdgeTangentIntegralSample = make_sampling_functional(1,0,false,false,(int)Identity)
 For integrating polynomial dotted with tangent over an edge.
constexpr SamplingFunctional Compadre::EdgeTangentAverageSample = make_sampling_functional(1,0,false,false,(int)Identity)
 For polynomial dotted with tangent.
constexpr SamplingFunctional Compadre::CellAverageSample = make_sampling_functional(0,0,false,false,(int)DifferentEachNeighbor)
 For polynomial integrated on cells.
constexpr SamplingFunctional Compadre::CellIntegralSample = make_sampling_functional(0,0,false,false,(int)DifferentEachNeighbor)
 For polynomial integrated on cells.

Macro Definition Documentation

◆ make_sampling_functional

#define make_sampling_functional ( input,
output,
targets,
nontrivial,
transform )
Value:
SamplingFunctional(input, output, targets, nontrivial, transform, __COUNTER__)

Definition at line 6 of file Compadre_Operators.hpp.