G+Smo  25.01.0
Geometry + Simulation Modules
 
Loading...
Searching...
No Matches
gsSpringPatch.h
Go to the documentation of this file.
1
14#pragma once
15
17
18namespace gismo
19{
20
25template <typename T>
27{
28public:
30
31public:
32
44
45public:
46
48 const gsGeometry<T> & compute();
49
50private:
51
52 template<unsigned d> void compute_impl();
53
54protected:
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: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
Computes a parametrization based on the spring patch technique, given a set of boundary geometries.
Definition gsSpringPatch.h:27
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
const gsGeometry< T > & compute()
Main routine that performs the computation.
Definition gsSpringPatch.hpp:24
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