G+Smo  25.01.0
Geometry + Simulation Modules
 
Loading...
Searching...
No Matches
gsCoonsPatch.h
Go to the documentation of this file.
1
14#pragma once
15
17
18namespace gismo
19{
20
21
31template <typename T>
33{
34public:
36public:
37
49
50public:
51
52 // Look at gsPatchGenerator
53 const gsGeometry<T> & compute();
54
55private:
56
57 template<short_t d> void compute_impl();
58
59protected:
60
61 using Base::m_boundary;
62
63 using Base::m_result;
64
65}; // gsCoonsPatch
66
67
68
69#ifdef GISMO_WITH_PYBIND11
70
74 void pybind11_init_gsCoonsPatch(pybind11::module &m);
75
76#endif // GISMO_WITH_PYBIND11
77
78}// namespace gismo
79
80#ifndef GISMO_BUILD_LIB
81#include GISMO_HPP_HEADER(gsCoonsPatch.hpp)
82#endif
Computes a Coons' patch parametrization given a set of boundary geometries. Parametrization is not gu...
Definition gsCoonsPatch.h:33
gsCoonsPatch(const gsMultiPatch< T > &boundary)
Constructs a Coon's patch object by a collection of tensor-product patches defining the boundaries of...
Definition gsCoonsPatch.h:47
const gsGeometry< T > & compute()
Main routine that performs the computation (to be implemented in derived classes)
Definition gsCoonsPatch.hpp:25
Abstract base class representing a geometry map.
Definition gsGeometry.h:93
Container class for a set of geometry patches and their topology, that is, the interface connections ...
Definition gsMultiPatch.h:100
Abstract class that accepts a set of input boundaries and computes a new geometry.
Definition gsPatchGenerator.h:32
gsGeometry< T > * m_result
Resulting patch.
Definition gsPatchGenerator.h:97
gsMultiPatch< T > m_boundary
Input boundaries.
Definition gsPatchGenerator.h:94
Provides an interface for patch generators.
The G+Smo namespace, containing all definitions for the library.
Struct that defines the boundary sides and corners and types of a geometric object.
Definition gsBoundary.h:56