75 return _project(projectionBasis, projectionBasis, geometryMap, geometryMap, coefs, options);
94 return _project(integrationBasis, projectionBasis, geometryMap, geometryMap, coefs, options);
113 return _project(basis, basis, geometry, geometry, coefs, options);
136 return _project(intbasis, basis, geometry, geometry, coefs, options);
155 return _project(projectionBasis, projectionBasis, geometryMap, sourceFunction, coefs, options);
176 return _project(integrationBasis, projectionBasis, geometryMap, sourceFunction, coefs, options);
197 return _project(basis, basis, geometry, sourceFunction, coefs, options);
221 return _project(intbasis, basis, geometry, sourceFunction, coefs, options);
282 const gsMappedBasis<2,T> & basis,
331 const gsMappedBasis<2,T>& basis,
374#ifndef GISMO_BUILD_LIB
375#include GISMO_HPP_HEADER(gsL2Projection.hpp)
Definition gsExpressions.h:973
A basis represents a family of scalar basis functions defined over a common parameter domain.
Definition gsBasis.h:79
gsExprHelper< T >::geometryMap geometryMap
Geometry map type.
Definition gsExprAssembler.h:65
gsExprHelper< T >::element element
Current element.
Definition gsExprAssembler.h:64
expr::gsFeSolution< T > solution
Solution type.
Definition gsExprAssembler.h:68
Interface for the set of functions defined on a domain (the total number of functions in the set equa...
Definition gsFunctionSet.h:219
A function from a n-dimensional domain to an m-dimensional image.
Definition gsFunction.h:60
Abstract base class representing a geometry map.
Definition gsGeometry.h:93
A matrix with arbitrary coefficient type and fixed or dynamic size.
Definition gsMatrix.h:41
Holds a set of patch-wise bases and their topology information.
Definition gsMultiBasis.h:37
Container class for a set of geometry patches and their topology, that is, the interface connections ...
Definition gsMultiPatch.h:100
Class which holds a list of parameters/options, and provides easy access to them.
Definition gsOptionList.h:33
Generic expressions matrix assembly.
The G+Smo namespace, containing all definitions for the library.
Class that performs an L2 projection.
Definition gsL2Projection.h:28
static GISMO_DEPRECATED T projectFunction(const gsMultiBasis< T > &basis, const gsFunctionSet< T > &source, const gsMultiPatch< T > &geometry, gsMatrix< T > &result)
Projects a function on a basis.
Definition gsL2Projection.hpp:229
static T _project(const gsMultiBasis< T > &integrationBasis, const gsFunctionSet< T > &projectionBasis, const gsFunctionSet< T > &geometryMap, const gsFunctionSet< T > &sourceFunction, gsMatrix< T > &coefs, const gsOptionList &options)
Projects a source function onto a projection basis using a geometry map.
Definition gsL2Projection.hpp:23
static GISMO_DEPRECATED T projectGeometry(const gsBasis< T > &basis, const gsGeometry< T > &geometry, gsMatrix< T > &result)
Projects a source geometry onto basis and returns it in result.
Definition gsL2Projection.hpp:74
static T project(const gsFunctionSet< T > &projectionBasis, const gsMultiBasis< T > &integrationBasis, const gsMultiPatch< T > &geometryMap, const gsFunctionSet< T > &sourceFunction, gsMatrix< T > &coefs, const gsOptionList &options=gsOptionList())
Project a function onto a basis.
Definition gsL2Projection.h:169
static T project(const gsMultiBasis< T > &projectionBasis, const gsMultiPatch< T > &geometryMap, gsMatrix< T > &coefs, const gsOptionList &options=gsOptionList())
Project a geometry onto a basis (multi-patch)
Definition gsL2Projection.h:70
static T project(const gsBasis< T > &projectionBasis, const gsBasis< T > &integrationBasis, const gsGeometry< T > &geometryMap, const gsFunction< T > &sourceFunction, gsMatrix< T > &coefs, const gsOptionList &options=gsOptionList())
Project a function onto a basis.
Definition gsL2Projection.h:211
static T project(const gsBasis< T > &projectionBasis, const gsGeometry< T > &geometryMap, gsMatrix< T > &coefs, const gsOptionList &options=gsOptionList())
Project a geometry onto a basis (single patch)
Definition gsL2Projection.h:106
static T project(const gsBasis< T > &projectionBasis, const gsBasis< T > &integrationBasis, const gsGeometry< T > &geometryMap, gsMatrix< T > &coefs, const gsOptionList &options=gsOptionList())
Project a geometry onto a basis (single patch)
Definition gsL2Projection.h:127
static T project(const gsMultiBasis< T > &projectionBasis, const gsMultiPatch< T > &geometryMap, const gsFunctionSet< T > &sourceFunction, gsMatrix< T > &coefs, const gsOptionList &options=gsOptionList())
Project a function onto a basis.
Definition gsL2Projection.h:149
static GISMO_DEPRECATED T projectGeometryBoundaries(const gsMultiBasis< T > &basis, const gsMultiPatch< T > &geometry, gsMultiPatch< T > &result)
Projects a source geometry onto basis and returns it in result. Fixes the boundaries.
Definition gsL2Projection.hpp:286
static T project(const gsBasis< T > &projectionBasis, const gsGeometry< T > &geometryMap, const gsFunction< T > &sourceFunction, gsMatrix< T > &coefs, const gsOptionList &options=gsOptionList())
Project a function onto a basis.
Definition gsL2Projection.h:189
static T project(const gsMultiBasis< T > &integrationBasis, const gsFunctionSet< T > &projectionBasis, const gsMultiPatch< T > &geometryMap, gsMatrix< T > &coefs, const gsOptionList &options=gsOptionList())
Project a geometry onto a basis (multi-patch)
Definition gsL2Projection.h:88
static GISMO_DEPRECATED T projectGeometryPenalty(const gsMultiBasis< T > &basis, const gsMultiPatch< T > &geometry, gsMultiPatch< T > &result, T penalty=1e3)
Projects a source geometry onto basis and returns it in result. Penalizes interfaces and boundaries.
Definition gsL2Projection.hpp:330