33 typedef memory::shared_ptr< gsVolume >
Ptr;
36 typedef memory::unique_ptr< gsVolume >
uPtr;
53 "Coefficient matrix cannot be empty.\n");
61private:
virtual gsVolume * clone_impl()
const = 0;
62public:
inline uPtr clone()
const {
return uPtr(clone_impl()); }
71#ifndef GISMO_BUILD_LIB
72#include GISMO_HPP_HEADER(gsVolume.hpp)
A basis represents a family of scalar basis functions defined over a common parameter domain.
Definition gsBasis.h:79
Abstract base class representing a geometry map.
Definition gsGeometry.h:93
gsMatrix< T > & coefs()
Definition gsGeometry.h:340
virtual const gsBasis< T > & basis() const =0
Returns a const reference to the basis of the geometry.
gsMatrix< T > m_coefs
Coefficient matrix of size coefsSize() x geoDim()
Definition gsGeometry.h:629
A matrix with arbitrary coefficient type and fixed or dynamic size.
Definition gsMatrix.h:41
Provides declaration of Volume abstract interface.
Definition gsVolume.h:29
memory::unique_ptr< gsVolume > uPtr
Unique pointer for gsVolume.
Definition gsVolume.h:36
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
gsVolume()
Default empty constructor.
Definition gsVolume.h:45
gsVolume(const gsBasis< T > &basis, gsMatrix< T > coefs)
Definition gsVolume.h:49
#define short_t
Definition gsConfig.h:35
#define GISMO_ASSERT(cond, message)
Definition gsDebug.h:89
The G+Smo namespace, containing all definitions for the library.
S give(S &x)
Definition gsMemory.h:266