Feel++ 0.111.0-preview.14
Finite Element Embedded Library in C++
Feel::FeelModels::RemeshInterpolation Class Reference

Interpolation Helper class for remeshing. More...

+ Collaboration diagram for Feel::FeelModels::RemeshInterpolation:

Public Types

using datamap_ptrtype = datamap_ptr_t<>
 
using functionspace_base_ptrtype = std::shared_ptr< FunctionSpaceBase >
 
using sparse_matrix_ptrtype = std::shared_ptr< MatrixSparse< double > >
 
using vector_ptrtype = std::shared_ptr< vector_type >
 
using vector_type = Vector< double >
 

Public Member Functions

template<typename DomainSpaceType , typename ImageSpaceType >
sparse_matrix_ptrtype computeMatrixInterpolation (std::shared_ptr< DomainSpaceType > domainSpace, std::shared_ptr< ImageSpaceType > imageSpace)
 
template<typename DomainSpaceType , typename ImageSpaceType , typename RangeType >
sparse_matrix_ptrtype computeMatrixInterpolation (std::shared_ptr< DomainSpaceType > domainSpace, std::shared_ptr< ImageSpaceType > imageSpace, RangeType const &range)
 
template<typename DomainElementType , typename ImageElementType >
bool interpolate (DomainElementType const &u, ImageElementType &v) const
 
bool interpolate (std::string const &name, vector_ptrtype const &u, vector_ptrtype &v) const
 
bool interpolateBlockVector (std::string const &name, vector_ptrtype oldVecMonolithic, vector_ptrtype newVecMonolithic, BlocksBaseVector< double > const &bvs, bool close=true) const
 
sparse_matrix_ptrtype matrixInterpolation (functionspace_base_ptrtype domainSpace, functionspace_base_ptrtype imageSpace) const
 
sparse_matrix_ptrtype matrixInterpolation (std::string const &name) const
 
sparse_matrix_ptrtype matrixInterpolation (std::string const &name, datamap_ptrtype const &domainDataMap, datamap_ptrtype const &imageDataMap) const
 
void registeringBlockIndex (std::string const &nameOfBlockVector, size_type blockIndex, functionspace_base_ptrtype domainSpace, functionspace_base_ptrtype imageSpace)
 registering a the link between a \blockUndex (of block vector called \nameOfBlockVector) and interpolation matrix (represented by \domainSpace and \nameOfBlockVector)
 
void registeringBlockIndex (std::string const &nameOfBlockVector, size_type blockIndex, std::string const &matInterpName)
 registering a the link between a \blockUndex (of block vector called \nameOfBlockVector) and interpolation matrix (called matInterpName)
 
void setMatrixInterpolation (functionspace_base_ptrtype domainSpace, functionspace_base_ptrtype imageSpace, sparse_matrix_ptrtype mat)
 
void setMatrixInterpolation (std::string const &name, datamap_ptrtype domainDataMap, datamap_ptrtype imageDataMap, sparse_matrix_ptrtype mat)
 

Detailed Description

Interpolation Helper class for remeshing.