ug4
|
virtual base class for reference mappings More...
#include <reference_mapping_provider.h>
Public Member Functions | |
virtual void | global_to_local (MathVector< dim > &locPos, const MathVector< worldDim > &globPos, const size_t maxIter=1000, const number tol=1e-10) const =0 |
map global coordinate to local coordinate More... | |
virtual void | global_to_local (MathVector< dim > *vLocPos, const MathVector< worldDim > *vGlobPos, size_t n, const size_t maxIter=1000, const number tol=1e-10) const =0 |
map global coordinate to local coordinate for n local positions More... | |
virtual void | global_to_local (std::vector< MathVector< dim > > &vLocPos, const std::vector< MathVector< worldDim > > &vGlobPos, const size_t maxIter=1000, const number tol=1e-10) const =0 |
map global coordinate to local coordinate for a vector of local positions More... | |
virtual bool | is_linear () const =0 |
returns if mapping is affine More... | |
virtual void | jacobian (MathMatrix< worldDim, dim > &J, const MathVector< dim > &locPos) const =0 |
returns jacobian More... | |
virtual void | jacobian (MathMatrix< worldDim, dim > *vJ, const MathVector< dim > *vLocPos, size_t n) const =0 |
returns jacobian for n local positions More... | |
virtual void | jacobian (std::vector< MathMatrix< worldDim, dim > > &vJ, const std::vector< MathVector< dim > > &vLocPos) const =0 |
returns jacobian for a vector of local positions More... | |
virtual void | jacobian_transposed (MathMatrix< dim, worldDim > &JT, const MathVector< dim > &locPos) const =0 |
returns transposed of jacobian More... | |
virtual void | jacobian_transposed (MathMatrix< dim, worldDim > *vJT, const MathVector< dim > *vLocPos, size_t n) const =0 |
returns transposed of jacobian for n local positions More... | |
virtual void | jacobian_transposed (std::vector< MathMatrix< dim, worldDim > > &vJT, const std::vector< MathVector< dim > > &vLocPos) const =0 |
returns transposed of jacobian for a vector of positions More... | |
virtual number | jacobian_transposed_inverse (MathMatrix< worldDim, dim > &JTInv, const MathVector< dim > &locPos) const =0 |
returns transposed of the inverse of the jacobian and returns sqrt of gram determinante More... | |
virtual void | jacobian_transposed_inverse (MathMatrix< worldDim, dim > *vJTInv, const MathVector< dim > *vLocPos, size_t n) const =0 |
returns transposed of the inverse of the jacobian for n local positions More... | |
virtual void | jacobian_transposed_inverse (MathMatrix< worldDim, dim > *vJTInv, number *vDet, const MathVector< dim > *vLocPos, size_t n) const =0 |
returns transposed of the inverse of the jacobian for n local positions More... | |
virtual void | jacobian_transposed_inverse (std::vector< MathMatrix< worldDim, dim > > &vJTInv, const std::vector< MathVector< dim > > &vLocPos) const =0 |
returns transposed of the inverse of the jacobian for a vector of positions More... | |
virtual void | jacobian_transposed_inverse (std::vector< MathMatrix< worldDim, dim > > &vJTInv, std::vector< number > &vDet, const std::vector< MathVector< dim > > &vLocPos) const =0 |
returns transposed of the inverse of the jacobian for a vector of positions More... | |
virtual void | local_to_global (MathVector< worldDim > &globPos, const MathVector< dim > &locPos) const =0 |
map local coordinate to global coordinate More... | |
virtual void | local_to_global (MathVector< worldDim > *vGlobPos, const MathVector< dim > *vLocPos, size_t n) const =0 |
map n local coordinate to global coordinate More... | |
virtual void | local_to_global (std::vector< MathVector< worldDim > > &vGlobPos, const std::vector< MathVector< dim > > &vLocPos) const =0 |
map local coordinate to global coordinate for a vector of local positions More... | |
virtual number | sqrt_gram_det (const MathVector< dim > &locPos) const =0 |
returns the determinate of the jacobian More... | |
virtual void | sqrt_gram_det (number *vDet, const MathVector< dim > *vLocPos, size_t n) const =0 |
returns the determinate of the jacobian for n local positions More... | |
virtual void | sqrt_gram_det (std::vector< number > &vDet, const std::vector< MathVector< dim > > &vLocPos) const =0 |
returns the determinate of the jacobian for a vector of local positions More... | |
virtual void | update (const MathVector< worldDim > *vCornerCoord)=0 |
refresh mapping for new set of corners More... | |
virtual void | update (const std::vector< MathVector< worldDim > > &vCornerCoord)=0 |
refresh mapping for new set of corners More... | |
virtual | ~DimReferenceMapping () |
virtual destructor More... | |
Static Public Attributes | |
static const int | dim = TDim |
reference dimension (domain space dimension) More... | |
static const int | worldDim = TWorldDim |
world dimension (range space dimension) More... | |
virtual base class for reference mappings
This class is the base class for reference mappings in order to make them selectable through a provider (on the price of virtual functions).
TDim | reference element dimension |
TWorldDim | (physical) world dimension |
|
inlinevirtual |
virtual destructor
|
pure virtual |
map global coordinate to local coordinate
Implemented in ug::DimReferenceMappingWrapper< TRefMapping >.
Referenced by ug::EdgeReferenceMappingTest(), ug::L2DistIntegrand< TGridFunction >::evaluate(), ug::H1SemiDistIntegrand< TGridFunction >::evaluate(), ug::H1EnergyDistIntegrand< TGridFunction >::evaluate(), ug::H1DistIntegrand< TGridFunction >::evaluate(), ug::UserDataDistIntegrandSq< TData, TGridFunction >::evaluate(), ug::OutNormCmp< TDomain >::evaluate(), ug::bridge::Evaluate::NumberValuedUserDataEvaluator< TDomain, TAlgebra >::evaluateOnThisProcess(), ug::bridge::Evaluate::VectorValuedUserDataEvaluator< TDomain, TAlgebra >::evaluateOnThisProcess(), ug::OctReferenceMappingTest(), ug::CrouzeixRaviartElemTransfer< TDomain >::prolongate(), ug::StdLagrangeElemTransfer< TDomain >::prolongate(), ug::ProlongateElemwise(), ug::RestrictElemwise(), ug::ShapesAtGlobalPositionElem(), ug::SubLocalDoFSet< TDim >::SubLocalDoFSet(), and ug::TetReferenceMappingTest().
|
pure virtual |
map global coordinate to local coordinate for n local positions
Implemented in ug::DimReferenceMappingWrapper< TRefMapping >.
|
pure virtual |
map global coordinate to local coordinate for a vector of local positions
Implemented in ug::DimReferenceMappingWrapper< TRefMapping >.
|
pure virtual |
returns if mapping is affine
Implemented in ug::DimReferenceMappingWrapper< TRefMapping >.
Referenced by ug::DimFV1Geometry< TDim, TWorldDim >::update(), ug::DimFV1IBGeometry< TDim, TWorldDim >::update(), ug::DimCRFVGeometry< TDim, TWorldDim >::update(), and ug::DimCRFVGeometry< TDim, TWorldDim >::update_hanging().
|
pure virtual |
returns jacobian
Implemented in ug::DimReferenceMappingWrapper< TRefMapping >.
Referenced by ug::ProjectionLinker< dim >::eval_and_deriv(), and ug::ProjectionLinker< dim >::evaluate().
|
pure virtual |
returns jacobian for n local positions
Implemented in ug::DimReferenceMappingWrapper< TRefMapping >.
|
pure virtual |
returns jacobian for a vector of local positions
Implemented in ug::DimReferenceMappingWrapper< TRefMapping >.
|
pure virtual |
returns transposed of jacobian
Implemented in ug::DimReferenceMappingWrapper< TRefMapping >.
Referenced by ug::GridFunctionGradientData< TGridFunction >::eval_and_deriv(), ug::GradientDataExport< dim >::eval_and_deriv(), ug::GridFunctionGradientComponentData< TGridFunction >::eval_and_deriv(), ug::GlobalGridFunctionGradientData< TGridFunction >::evaluate(), ug::ExplicitGridFunctionGradient< TGridFunction >::evaluate(), ug::IntegralNormalComponentOnManifoldGeneral(), and ug::Integrate().
|
pure virtual |
returns transposed of jacobian for n local positions
Implemented in ug::DimReferenceMappingWrapper< TRefMapping >.
|
pure virtual |
returns transposed of jacobian for a vector of positions
Implemented in ug::DimReferenceMappingWrapper< TRefMapping >.
|
pure virtual |
returns transposed of the inverse of the jacobian and returns sqrt of gram determinante
Implemented in ug::DimReferenceMappingWrapper< TRefMapping >.
Referenced by ug::ComputeGradientCrouzeixRaviart(), ug::ComputeGradientLagrange1(), ug::GradientEvaluator_LagrangeP1< TFunction >::evaluate(), ug::H1SemiDistIntegrand< TGridFunction >::evaluate(), ug::H1EnergyDistIntegrand< TGridFunction >::evaluate(), ug::H1DistIntegrand< TGridFunction >::evaluate(), ug::H1ErrorIntegrand< TGridFunction >::evaluate(), ug::H1SemiIntegrand< TGridFunction >::evaluate(), ug::H1EnergyIntegrand< TGridFunction >::evaluate(), ug::H1NormIntegrand< TGridFunction >::evaluate(), ug::DimFV1Geometry< TDim, TWorldDim >::update(), ug::DimFV1IBGeometry< TDim, TWorldDim >::update(), ug::DimCRFVGeometry< TDim, TWorldDim >::update(), ug::DimFEGeometry< TWorldDim, TRefDim >::update(), ug::DimFVGeometry< TWorldDim, TDim >::update(), ug::DimFV1Geometry< TDim, TWorldDim >::update_boundary_faces(), ug::DimFV1IBGeometry< TDim, TWorldDim >::update_boundary_faces(), ug::DimCRFVGeometry< TDim, TWorldDim >::update_boundary_faces(), ug::DimFVGeometry< TWorldDim, TDim >::update_boundary_faces(), ug::DimFEGeometry< TWorldDim, TRefDim >::update_boundary_faces(), and ug::DimCRFVGeometry< TDim, TWorldDim >::update_hanging().
|
pure virtual |
returns transposed of the inverse of the jacobian for n local positions
Implemented in ug::DimReferenceMappingWrapper< TRefMapping >.
|
pure virtual |
returns transposed of the inverse of the jacobian for n local positions
Implemented in ug::DimReferenceMappingWrapper< TRefMapping >.
|
pure virtual |
returns transposed of the inverse of the jacobian for a vector of positions
Implemented in ug::DimReferenceMappingWrapper< TRefMapping >.
|
pure virtual |
returns transposed of the inverse of the jacobian for a vector of positions
Implemented in ug::DimReferenceMappingWrapper< TRefMapping >.
|
pure virtual |
map local coordinate to global coordinate
Implemented in ug::DimReferenceMappingWrapper< TRefMapping >.
Referenced by ug::SideAndElemErrEstData< TDomain >::all_side_global_ips(), ug::DoFPositionElem(), ug::SideAndElemErrEstData< TDomain >::elem_global_ips(), ug::GaussQuadratureOctahedron::GaussQuadratureOctahedron(), ug::GaussQuadraturePyramid::GaussQuadraturePyramid(), ug::InnerDoFPositionElem(), ug::IntegralNormalComponentOnManifoldGeneral(), ug::Integrate(), ug::DimFEGeometry< TWorldDim, TRefDim >::update(), ug::DimFVGeometry< TWorldDim, TDim >::update(), ug::DimFVGeometry< TWorldDim, TDim >::update_boundary_faces(), and ug::DimFEGeometry< TWorldDim, TRefDim >::update_boundary_faces().
|
pure virtual |
map n local coordinate to global coordinate
Implemented in ug::DimReferenceMappingWrapper< TRefMapping >.
|
pure virtual |
map local coordinate to global coordinate for a vector of local positions
Implemented in ug::DimReferenceMappingWrapper< TRefMapping >.
|
pure virtual |
returns the determinate of the jacobian
Implemented in ug::DimReferenceMappingWrapper< TRefMapping >.
Referenced by ug::GaussQuadratureOctahedron::GaussQuadratureOctahedron(), ug::GaussQuadraturePyramid::GaussQuadraturePyramid(), ug::SideAndElemErrEstData< TDomain >::get_elem_error_indicator(), ug::DimFV1Geometry< TDim, TWorldDim >::update(), ug::DimFV1IBGeometry< TDim, TWorldDim >::update(), ug::DimCRFVGeometry< TDim, TWorldDim >::update(), ug::DimFVGeometry< TWorldDim, TDim >::update(), ug::DimFV1Geometry< TDim, TWorldDim >::update_boundary_faces(), ug::DimFV1IBGeometry< TDim, TWorldDim >::update_boundary_faces(), ug::DimCRFVGeometry< TDim, TWorldDim >::update_boundary_faces(), ug::DimFVGeometry< TWorldDim, TDim >::update_boundary_faces(), and ug::DimCRFVGeometry< TDim, TWorldDim >::update_hanging().
|
pure virtual |
returns the determinate of the jacobian for n local positions
Implemented in ug::DimReferenceMappingWrapper< TRefMapping >.
|
pure virtual |
returns the determinate of the jacobian for a vector of local positions
Implemented in ug::DimReferenceMappingWrapper< TRefMapping >.
|
pure virtual |
refresh mapping for new set of corners
Implemented in ug::DimReferenceMappingWrapper< TRefMapping >.
Referenced by ug::ComputeGradientCrouzeixRaviart(), ug::ComputeGradientLagrange1(), ug::ProjectionLinker< dim >::eval_and_deriv(), ug::GradientEvaluator_LagrangeP1< TFunction >::evaluate(), ug::ProjectionLinker< dim >::evaluate(), ug::ReferenceMappingProvider::get(), ug::SideAndElemErrEstData< TDomain >::get_elem_error_indicator(), ug::Integrate(), ug::DimFV1Geometry< TDim, TWorldDim >::update(), ug::DimFV1IBGeometry< TDim, TWorldDim >::update(), ug::DimCRFVGeometry< TDim, TWorldDim >::update(), ug::DimFVGeometry< TWorldDim, TDim >::update(), ug::DimFV1Geometry< TDim, TWorldDim >::update_boundary_faces(), ug::DimFV1IBGeometry< TDim, TWorldDim >::update_boundary_faces(), ug::DimCRFVGeometry< TDim, TWorldDim >::update_boundary_faces(), ug::DimFVGeometry< TWorldDim, TDim >::update_boundary_faces(), ug::DimFEGeometry< TWorldDim, TRefDim >::update_boundary_faces(), and ug::DimCRFVGeometry< TDim, TWorldDim >::update_hanging().
|
pure virtual |
refresh mapping for new set of corners
Implemented in ug::DimReferenceMappingWrapper< TRefMapping >.
|
static |
reference dimension (domain space dimension)
|
static |
world dimension (range space dimension)