|
PolyFEM
|
Scratch for one output point. All tensor storage has a fixed 3x3 capacity. More...
#include <Assembler.hpp>
Public Member Functions | |
| OutputStress (const MatrixNd &deformation) | |
| const MatrixNd & | deformation () const |
| const MatrixNd & | tensor (ElasticityTensorType type) |
Public Attributes | |
| MatrixNd | native |
| ElasticityTensorType | native_type = ElasticityTensorType::CAUCHY |
| bool | has_stress = true |
| bool | needs_stress = true |
| bool | needs_energy = false |
| double | energy = 0 |
Private Member Functions | |
| const MatrixNd & | inverse () |
| double | determinant () |
Private Attributes | |
| const MatrixNd & | deformation_ |
| std::array< MatrixNd, 3 > | tensors_ |
| std::array< bool, 3 > | computed_ {} |
| MatrixNd | inverse_ |
| bool | inverse_ready_ = false |
| bool | determinant_ready_ = false |
| double | determinant_ = 0 |
Scratch for one output point. All tensor storage has a fixed 3x3 capacity.
Definition at line 483 of file Assembler.hpp.
|
inlineexplicit |
Definition at line 486 of file Assembler.hpp.
|
inline |
Definition at line 493 of file Assembler.hpp.
References deformation_.
Referenced by polyfem::assembler::FixedCorotational::compute_output_stress(), polyfem::assembler::InversionBarrier::compute_output_stress(), polyfem::assembler::MooneyRivlin3ParamSymbolic::compute_output_stress(), polyfem::assembler::NeoHookeanElasticity::compute_output_stress(), and polyfem::assembler::ElasticityAssembler::compute_output_values().
|
private |
Definition at line 34 of file Assembler.cpp.
References polyfem::utils::determinant(), and polyfem::PK1.
|
private |
Definition at line 24 of file Assembler.cpp.
References deformation_, inverse_, and inverse_ready_.
| const MatrixNd & polyfem::assembler::ElasticityAssembler::OutputStress::tensor | ( | ElasticityTensorType | type | ) |
Definition at line 46 of file Assembler.cpp.
References polyfem::CAUCHY, polyfem::utils::determinant(), polyfem::F, polyfem::utils::inverse(), and polyfem::PK1.
Referenced by polyfem::assembler::ElasticityAssembler::assign_stress_tensor(), and polyfem::assembler::ElasticityAssembler::compute_output_values().
|
private |
Definition at line 499 of file Assembler.hpp.
|
private |
Definition at line 497 of file Assembler.hpp.
Referenced by deformation(), and inverse().
|
private |
Definition at line 503 of file Assembler.hpp.
|
private |
Definition at line 502 of file Assembler.hpp.
| double polyfem::assembler::ElasticityAssembler::OutputStress::energy = 0 |
Definition at line 492 of file Assembler.hpp.
Referenced by polyfem::assembler::ElasticityAssembler::assign_stress_tensor(), polyfem::assembler::FixedCorotational::compute_output_stress(), polyfem::assembler::HookeLinearElasticity::compute_output_stress(), polyfem::assembler::IncompressibleLinearElasticityDispacement::compute_output_stress(), polyfem::assembler::InversionBarrier::compute_output_stress(), polyfem::assembler::LinearElasticity::compute_output_stress(), polyfem::assembler::MooneyRivlin3ParamSymbolic::compute_output_stress(), polyfem::assembler::NeoHookeanElasticity::compute_output_stress(), polyfem::assembler::SaintVenantElasticity::compute_output_stress(), and polyfem::assembler::ElasticityAssembler::compute_output_values().
| bool polyfem::assembler::ElasticityAssembler::OutputStress::has_stress = true |
Definition at line 489 of file Assembler.hpp.
Referenced by polyfem::assembler::ElasticityAssembler::assign_stress_tensor(), and polyfem::assembler::ElasticityAssembler::compute_output_values().
|
private |
Definition at line 500 of file Assembler.hpp.
Referenced by inverse().
|
private |
Definition at line 501 of file Assembler.hpp.
Referenced by inverse().
| MatrixNd polyfem::assembler::ElasticityAssembler::OutputStress::native |
Definition at line 487 of file Assembler.hpp.
Referenced by polyfem::assembler::FixedCorotational::compute_output_stress(), polyfem::assembler::HookeLinearElasticity::compute_output_stress(), polyfem::assembler::IncompressibleLinearElasticityDispacement::compute_output_stress(), polyfem::assembler::InversionBarrier::compute_output_stress(), polyfem::assembler::LinearElasticity::compute_output_stress(), polyfem::assembler::MooneyRivlin3ParamSymbolic::compute_output_stress(), polyfem::assembler::NeoHookeanElasticity::compute_output_stress(), and polyfem::assembler::SaintVenantElasticity::compute_output_stress().
| ElasticityTensorType polyfem::assembler::ElasticityAssembler::OutputStress::native_type = ElasticityTensorType::CAUCHY |
Definition at line 488 of file Assembler.hpp.
Referenced by polyfem::assembler::InversionBarrier::compute_output_stress().
| bool polyfem::assembler::ElasticityAssembler::OutputStress::needs_energy = false |
Definition at line 491 of file Assembler.hpp.
Referenced by polyfem::assembler::FixedCorotational::compute_output_stress(), polyfem::assembler::HookeLinearElasticity::compute_output_stress(), polyfem::assembler::InversionBarrier::compute_output_stress(), polyfem::assembler::LinearElasticity::compute_output_stress(), polyfem::assembler::MooneyRivlin3ParamSymbolic::compute_output_stress(), polyfem::assembler::NeoHookeanElasticity::compute_output_stress(), polyfem::assembler::SaintVenantElasticity::compute_output_stress(), and polyfem::assembler::ElasticityAssembler::evaluate_output_stress().
| bool polyfem::assembler::ElasticityAssembler::OutputStress::needs_stress = true |
Definition at line 490 of file Assembler.hpp.
Referenced by polyfem::assembler::FixedCorotational::compute_output_stress(), polyfem::assembler::IncompressibleLinearElasticityDispacement::compute_output_stress(), polyfem::assembler::InversionBarrier::compute_output_stress(), polyfem::assembler::LinearElasticity::compute_output_stress(), polyfem::assembler::MooneyRivlin3ParamSymbolic::compute_output_stress(), polyfem::assembler::NeoHookeanElasticity::compute_output_stress(), polyfem::assembler::SaintVenantElasticity::compute_output_stress(), and polyfem::assembler::ElasticityAssembler::evaluate_output_stress().
|
private |
Definition at line 498 of file Assembler.hpp.