G+Smo  24.08.0
Geometry + Simulation Modules
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
gsCoonsPatch.h
Go to the documentation of this file.
1 
14 #pragma once
15 
17 
18 namespace gismo
19 {
20 
21 
31 template <typename T>
32 class gsCoonsPatch : public gsPatchGenerator<T>
33 {
34 public:
35  typedef gsPatchGenerator<T> Base;
36 public:
37 
48  { }
49 
50 public:
51 
52  // Look at gsPatchGenerator
53  const gsGeometry<T> & compute();
54 
55 private:
56 
57  template<short_t d> void compute_impl();
58 
59 protected:
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
Abstract base class representing a geometry map.
Definition: gsGeometry.h:92
gsCoonsPatch(const gsMultiPatch< T > &boundary)
Constructs a Coon&#39;s patch object by a collection of tensor-product patches defining the boundaries of...
Definition: gsCoonsPatch.h:47
Struct that defines the boundary sides and corners and types of a geometric object.
Definition: gsBoundary.h:55
Provides an interface for patch generators.
Container class for a set of geometry patches and their topology, that is, the interface connections ...
Definition: gsMultiPatch.h:33
const gsGeometry< T > & compute()
Main routine that performs the computation (to be implemented in derived classes) ...
Definition: gsCoonsPatch.hpp:25
gsGeometry< T > * m_result
Resulting patch.
Definition: gsPatchGenerator.h:97
Computes a Coons&#39; patch parametrization given a set of boundary geometries. Parametrization is not gu...
Definition: gsCoonsPatch.h:32
Abstract class that accepts a set of input boundaries and computes a new geometry.
Definition: gsPatchGenerator.h:31
gsMultiPatch< T > m_boundary
Input boundaries.
Definition: gsPatchGenerator.h:94