33 typedef memory::shared_ptr< gsVolume >
Ptr;
36 typedef memory::unique_ptr< gsVolume >
uPtr;
53 "Coefficient matrix cannot be empty.\n");
61 private:
virtual gsVolume * clone_impl()
const = 0;
62 public:
inline uPtr clone()
const {
return uPtr(clone_impl()); }
71 #ifndef GISMO_BUILD_LIB
72 #include GISMO_HPP_HEADER(gsVolume.hpp)
Abstract base class representing a geometry map.
Definition: gsGeometry.h:92
gsMatrix< T > m_coefs
Coefficient matrix of size coefsSize() x geoDim()
Definition: gsGeometry.h:624
#define short_t
Definition: gsConfig.h:35
gsVolume(const gsBasis< T > &basis, gsMatrix< T > coefs)
Definition: gsVolume.h:49
gsVolume()
Default empty constructor.
Definition: gsVolume.h:45
S give(S &x)
Definition: gsMemory.h:266
#define GISMO_ASSERT(cond, message)
Definition: gsDebug.h:89
short_t domainDim() const
Dimension d of the parameter domain (overriding gsFunction::domainDim()).
Definition: gsVolume.h:64
memory::shared_ptr< gsVolume > Ptr
Shared pointer for gsVolume.
Definition: gsVolume.h:33
Provides declaration of Volume abstract interface.
Definition: gsVolume.h:28
virtual const gsBasis< T > & basis() const =0
Returns a const reference to the basis of the geometry.
memory::unique_ptr< gsVolume > uPtr
Unique pointer for gsVolume.
Definition: gsVolume.h:36
A basis represents a family of scalar basis functions defined over a common parameter domain...
Definition: gsBasis.h:78
gsMatrix< T > & coefs()
Definition: gsGeometry.h:340