47 typedef typename Base::function_ptr function_ptr;
230 std::ostream &
print(std::ostream &os)
const override;
247 typedef memory::shared_ptr< gsMaterialMatrixLinear >
Ptr;
250 typedef memory::unique_ptr< gsMaterialMatrixLinear >
uPtr;
305 using Base::m_thickness;
307 using Base::m_density;
312 using Base::m_options;
316#ifdef GISMO_WITH_PYBIND11
321 void pybind11_init_gsMaterialMatrixLinear2(pybind11::module &m);
322 void pybind11_init_gsMaterialMatrixLinear3(pybind11::module &m);
329#ifndef GISMO_BUILD_LIB
330#include GISMO_HPP_HEADER(gsMaterialMatrixLinear.hpp)
Interface for the set of functions defined on a domain (the total number of functions in the set equa...
Definition gsFunctionSet.h:219
This class defines the base class for material matrices.
Definition gsMaterialMatrixBaseDim.h:37
void _getMetric(const index_t k, const T z) const
Gets metric quantities on the deformed and undeformed geometries.
Definition gsMaterialMatrixBaseDim.hpp:1021
virtual gsMatrix< T > eval3D_CauchyStress(const index_t, const gsMatrix< T > &, const gsMatrix< T > &, enum MaterialOutput) const
{ function_description }
Definition gsMaterialMatrixBase.h:581
virtual gsMatrix< T > eval3D_dmatrix(const index_t, const gsMatrix< T > &, const gsMatrix< T > &, enum MaterialOutput) const
Evaluates the derivative of the matrix on patch on in-plane points u with height z.
Definition gsMaterialMatrixBase.h:398
virtual gsMatrix< T > eval3D_stress(const index_t, const gsMatrix< T > &, const gsMatrix< T > &, enum MaterialOutput) const
{ function_description }
Definition gsMaterialMatrixBase.h:549
virtual gsMatrix< T > eval3D_matrix(const index_t, const gsMatrix< T > &, const gsMatrix< T > &, enum MaterialOutput) const
Evaluates the matrix on patch on in-plane points u with height z.
Definition gsMaterialMatrixBase.h:367
virtual const function_ptr getParameter(const index_t i) const
Gets parameter i.
Definition gsMaterialMatrixBase.h:730
virtual void setParameter(const index_t i, const function_ptr &par)
Sets the material parameters.
Definition gsMaterialMatrixBase.h:694
virtual gsMatrix< T > eval3D_vector(const index_t, const gsMatrix< T > &, const gsMatrix< T > &, enum MaterialOutput) const
Evaluates the vector on patch on in-plane points u with height z.
Definition gsMaterialMatrixBase.h:422
This class defines a linear material.
Definition gsMaterialMatrixLinear.h:38
gsMatrix< T > eval3D_vector(const index_t patch, const gsMatrix< T > &u, const gsMatrix< T > &z, enum MaterialOutput out=MaterialOutput::Generic) const override
See gsMaterialMatrixBase for details.
Definition gsMaterialMatrixLinear.hpp:306
gsMatrix< T > eval3D_matrix_C(const gsMatrix< T > &Cmat, const index_t patch, const gsVector< T > &u, const T z, enum MaterialOutput out=MaterialOutput::Generic) const override
See gsMaterialMatrixBase for details.
Definition gsMaterialMatrixLinear.hpp:218
gsMatrix< T > S(const gsMatrix< T > &C, const index_t patch, const gsMatrix< T > &u, const gsMatrix< T > &z, enum MaterialOutput out) const
Computes the vector S as function of the deformation tensor C=FTF.
virtual gsMatrix< T > eval3D_CauchyStress(const index_t patch, const gsMatrix< T > &u, const gsMatrix< T > &z, enum MaterialOutput out) const override
See gsMaterialMatrixBase for details.
Definition gsMaterialMatrixLinear.hpp:513
const function_ptr getPoissonsRatio() const override
Gets the Poisson's Ratio.
Definition gsMaterialMatrixLinear.h:227
enum MatIntegration isMatIntegrated() const override
See gsMaterialMatrixBase for details.
Definition gsMaterialMatrixLinear.h:169
void _initialize()
Initializes the object.
Definition gsMaterialMatrixLinear.hpp:171
void setYoungsModulus(const gsFunctionSet< T > &YoungsModulus) override
Sets the YoungsModulus.
Definition gsMaterialMatrixLinear.h:218
memory::shared_ptr< gsMaterialMatrixLinear > Ptr
Shared pointer for gsMaterialMatrixLinear.
Definition gsMaterialMatrixLinear.h:247
gsMatrix< T > dC(const gsMatrix< T > &C, const index_t patch, const gsMatrix< T > &u, const gsMatrix< T > &z, enum MaterialOutput out) const
Computes the derivative of the matrix C as function of the deformation tensor C=FTF.
T _Sij(const index_t i, const index_t j, const gsMatrix< T > &z) const
Computes the linear material matrix entry with indices i j k l.
Definition gsMaterialMatrixLinear.hpp:558
enum MatIntegration isVecIntegrated() const override
See gsMaterialMatrixBase for details.
Definition gsMaterialMatrixLinear.h:172
gsMatrix< T > eval3D_pstressDir(const index_t patch, const gsMatrix< T > &u, const gsMatrix< T > &z, enum MaterialOutput out=MaterialOutput::Generic) const override
See gsMaterialMatrixBase for details.
Definition gsMaterialMatrixLinear.hpp:395
void defaultOptions() override
See gsMaterialMatrixBase for details.
Definition gsMaterialMatrixLinear.hpp:164
gsMatrix< T > eval3D_detF(const index_t patch, const gsMatrix< T > &u, const gsMatrix< T > &z, enum MaterialOutput out=MaterialOutput::Generic) const override
See gsMaterialMatrixBase for details.
Definition gsMaterialMatrixLinear.hpp:496
std::ostream & print(std::ostream &os) const override
See gsMaterialMatrixBase for details.
Definition gsMaterialMatrixLinear.hpp:150
gsMatrix< T > C(const gsMatrix< T > &C, const index_t patch, const gsMatrix< T > &u, const gsMatrix< T > &z, enum MaterialOutput out) const
Computes the matrix C as function of the deformation tensor C=FTF.
gsMatrix< T > eval3D_CauchyVector(const index_t patch, const gsMatrix< T > &u, const gsMatrix< T > &z, enum MaterialOutput out=MaterialOutput::Generic) const override
See gsMaterialMatrixBase for details.
Definition gsMaterialMatrixLinear.hpp:312
gsMatrix< T > _E(const T z, enum MaterialOutput out) const
Computes the strain tensor.
Definition gsMaterialMatrixLinear.hpp:593
memory::unique_ptr< gsMaterialMatrixLinear > uPtr
Unique pointer for gsMaterialMatrixLinear.
Definition gsMaterialMatrixLinear.h:250
gsMaterialMatrixLinear()
Empty constructor.
Definition gsMaterialMatrixLinear.hpp:30
const function_ptr getYoungsModulus() const override
Gets the YoungsModulus.
Definition gsMaterialMatrixLinear.h:221
void setPoissonsRatio(const gsFunctionSet< T > &PoissonsRatio) override
Sets the Poisson's Ratio.
Definition gsMaterialMatrixLinear.h:224
gsMatrix< T > eval3D_stress(const index_t patch, const gsMatrix< T > &u, const gsMatrix< T > &z, enum MaterialOutput out) const override
See gsMaterialMatrixBase for details.
Definition gsMaterialMatrixLinear.hpp:461
gsMatrix< T > eval3D_vector_C(const gsMatrix< T > &Cmat, const index_t patch, const gsVector< T > &u, const T z, enum MaterialOutput out=MaterialOutput::Generic) const override
See gsMaterialMatrixBase for details.
Definition gsMaterialMatrixLinear.hpp:318
gsMatrix< T > eval3D_pstress(const index_t patch, const gsMatrix< T > &u, const gsMatrix< T > &z, enum MaterialOutput out=MaterialOutput::Generic) const override
See gsMaterialMatrixBase for details.
Definition gsMaterialMatrixLinear.hpp:362
gsMatrix< T > eval3D_dmatrix(const index_t patch, const gsMatrix< T > &u, const gsMatrix< T > &z, enum MaterialOutput out=MaterialOutput::Generic) const override
See gsMaterialMatrixBase for details.
Definition gsMaterialMatrixLinear.hpp:255
gsMatrix< T > eval3D_matrix(const index_t patch, const gsMatrix< T > &u, const gsMatrix< T > &z, enum MaterialOutput out=MaterialOutput::Generic) const override
See gsMaterialMatrixBase for details.
Definition gsMaterialMatrixLinear.hpp:178
gsMatrix< T > eval3D_CauchyPStress(const index_t patch, const gsMatrix< T > &u, const gsMatrix< T > &z, enum MaterialOutput out=MaterialOutput::Generic) const override
See gsMaterialMatrixBase for details.
Definition gsMaterialMatrixLinear.hpp:428
A matrix with arbitrary coefficient type and fixed or dynamic size.
Definition gsMatrix.h:41
A vector with arbitrary coefficient type and fixed or dynamic size.
Definition gsVector.h:37
MaterialOutput
This class describes the output type.
Definition gsMaterialMatrixUtils.h:99
MatIntegration
This class describes if an object is integrated through-thickness or not.
Definition gsMaterialMatrixUtils.h:36
#define short_t
Definition gsConfig.h:35
#define index_t
Definition gsConfig.h:32
Base class with dimension in template; used for metric computations.
Provides material matrix utilities.
Provides a list of labeled parameters/options that can be set and accessed easily.
The G+Smo namespace, containing all definitions for the library.