G+Smo  24.08.0
Geometry + Simulation Modules
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
gsCrossApPatch.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 }; // gsCrossApPatch
61 
62 }// namespace gismo
63 
64 #ifndef GISMO_BUILD_LIB
65 #include GISMO_HPP_HEADER(gsCrossApPatch.hpp)
66 #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: gsCrossApPatch.hpp:25
Container class for a set of geometry patches and their topology, that is, the interface connections ...
Definition: gsMultiPatch.h:33
gsCrossApPatch(const gsMultiPatch< T > &boundary)
Constructs a spring patch object by a collection of tensor-product patches defining the boundaries of...
Definition: gsCrossApPatch.h:42
gsGeometry< T > * m_result
Resulting patch.
Definition: gsPatchGenerator.h:97
Abstract class that accepts a set of input boundaries and computes a new geometry.
Definition: gsPatchGenerator.h:31
Computes a parametrization based on low rank cross approximation, given a set of boundary geometries...
Definition: gsCrossApPatch.h:26
gsMultiPatch< T > m_boundary
Input boundaries.
Definition: gsPatchGenerator.h:94