G+Smo  24.08.0
Geometry + Simulation Modules
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
gsPatchGenerator< T > Class Template Referenceabstract

Detailed Description

template<typename T>
class gismo::gsPatchGenerator< T >

Abstract class that accepts a set of input boundaries and computes a new geometry.

Template Parameters
TCoefficient type
+ Inheritance diagram for gsPatchGenerator< T >:

Public Member Functions

virtual const gsGeometry< T > & compute ()=0
 Main routine that performs the computation (to be implemented in derived classes)
 
const gsGeometry< T > & compute (const gsMultiPatch< T > &boundary)
 Main routine that receives input and performs the computation.
 
 gsPatchGenerator (const gsMultiPatch< T > &boundary)
 Constructs a patch generator object by a collection of geometries defining the boundaries of a patch. More...
 
const gsMultiPatch< T > & input ()
 Returns the input boundaries.
 
const gsGeometry< T > & result () const
 Returns the resulting patch. Assumes that compute() has been called before.
 

Protected Member Functions

template<short_t d>
void preparePatch (gsTensorBSplineBasis< d, T > &resultBasis, gsMatrix< T > &coefs)
 Resolves the configuration of the input boundaries and creates a patch filled with the boundary coefficients.
 

Protected Attributes

gsMultiPatch< T > m_boundary
 Input boundaries.
 
gsGeometry< T > * m_result
 Resulting patch.
 

Constructor & Destructor Documentation

gsPatchGenerator ( const gsMultiPatch< T > &  boundary)
inline

Constructs a patch generator object by a collection of geometries defining the boundaries of a patch.

Parameters
boundarya set of boundary curves or patches