G+Smo  24.08.0
Geometry + Simulation Modules
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
gsSpringPatch.h
Go to the documentation of this file.
1 
14 #pragma once
15 
17 
18 namespace gismo
19 {
20 
25 template <typename T>
27 {
28 public:
29  typedef gsPatchGenerator<T> Base;
30 
31 public:
32 
43  { }
44 
45 public:
46 
48  const gsGeometry<T> & compute();
49 
50 private:
51 
52  template<unsigned d> void compute_impl();
53 
54 protected:
55 
56  using Base::m_boundary;
57 
58  using Base::m_result;
59 
60 }; // gsSpringPatch
61 
62 
63 #ifdef GISMO_WITH_PYBIND11
64 
68  void pybind11_init_gsSpringPatch(pybind11::module &m);
69 
70 #endif // GISMO_WITH_PYBIND11
71 
72 }// namespace gismo
73 
74 #ifndef GISMO_BUILD_LIB
75 #include GISMO_HPP_HEADER(gsSpringPatch.hpp)
76 #endif
Abstract base class representing a geometry map.
Definition: gsGeometry.h:92
Struct that defines the boundary sides and corners and types of a geometric object.
Definition: gsBoundary.h:55
Provides an interface for patch generators.
const gsGeometry< T > & compute()
Main routine that performs the computation.
Definition: gsSpringPatch.hpp:24
Computes a parametrization based on the spring patch technique, given a set of boundary geometries...
Definition: gsSpringPatch.h:26
Container class for a set of geometry patches and their topology, that is, the interface connections ...
Definition: gsMultiPatch.h:33
gsGeometry< T > * m_result
Resulting patch.
Definition: gsPatchGenerator.h:97
gsSpringPatch(const gsMultiPatch< T > &boundary)
Constructs a spring patch object by a collection of tensor-product patches defining the boundaries of...
Definition: gsSpringPatch.h:42
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