v0.15.0
Loading...
Searching...
No Matches
HookeOps::CommonData Struct Reference

#include "tutorials/vec-0/src/HookeOps.hpp"

Inheritance diagram for HookeOps::CommonData:
[legend]
Collaboration diagram for HookeOps::CommonData:
[legend]

Public Member Functions

auto getMatCauchyStress ()
 Get shared Cauchy stress.
 
auto getMatStrain ()
 Get shared strain.
 

Public Attributes

boost::shared_ptr< MatrixDouble > matGradPtr
 
boost::shared_ptr< MatrixDouble > matDPtr
 
MatrixDouble matCauchyStressPtr
 
MatrixDouble matStrainPtr
 

Detailed Description

Definition at line 14 of file HookeOps.hpp.

Member Function Documentation

◆ getMatCauchyStress()

auto HookeOps::CommonData::getMatCauchyStress ( )
inline

Get shared Cauchy stress.

Returns
Shared Cauchy stress matrix

Definition at line 24 of file HookeOps.hpp.

24 {
25 return boost::shared_ptr<MatrixDouble>(shared_from_this(),
27 }
MatrixDouble matCauchyStressPtr
Definition HookeOps.hpp:17

◆ getMatStrain()

auto HookeOps::CommonData::getMatStrain ( )
inline

Get shared strain.

Returns
Shared strain matrix

Definition at line 32 of file HookeOps.hpp.

32 {
33 return boost::shared_ptr<MatrixDouble>(shared_from_this(), &matStrainPtr);
34 }
MatrixDouble matStrainPtr
Definition HookeOps.hpp:18

Member Data Documentation

◆ matCauchyStressPtr

MatrixDouble HookeOps::CommonData::matCauchyStressPtr

Definition at line 17 of file HookeOps.hpp.

◆ matDPtr

boost::shared_ptr<MatrixDouble> HookeOps::CommonData::matDPtr

Definition at line 16 of file HookeOps.hpp.

◆ matGradPtr

boost::shared_ptr<MatrixDouble> HookeOps::CommonData::matGradPtr

Definition at line 15 of file HookeOps.hpp.

◆ matStrainPtr

MatrixDouble HookeOps::CommonData::matStrainPtr

Definition at line 18 of file HookeOps.hpp.


The documentation for this struct was generated from the following file: