11#ifndef __FIBEROPERATIONS_STRESSTENSORVALUES_HPP
12#define __FIBEROPERATIONS_STRESSTENSORVALUES_HPP
14#include <field/MemBase.hpp>
15#include <fiberop/TensorProperties.hpp>
16#include <eagle/EigenVectors.hpp>
17#include <grid/Representation.hpp>
18#include <eagle/PhysicalSpace.hpp>
19#include "fiberopDllApi.h"
35 pInvariant1 = -R( Fieldname +
"." FIBER_TENSORFIELDNAME_STRESSINVARIANT1 , f );
36 pInvariant2 = -R( Fieldname +
"." FIBER_TENSORFIELDNAME_STRESSINVARIANT2 , f );
37 pInvariant3 = -R( Fieldname +
"." FIBER_TENSORFIELDNAME_STRESSINVARIANT3 , f );
38 pPressure = -R( Fieldname +
"." FIBER_TENSORFIELDNAME_PRESSURE , f );
39 pMises = -R( Fieldname +
"." FIBER_TENSORFIELDNAME_MISES , f );
63 TheTensorField = R(Fieldname);
65 Invariant1 = R( Fieldname +
"." FIBER_TENSORFIELDNAME_STRESSINVARIANT1);
66 Invariant2 = R( Fieldname +
"." FIBER_TENSORFIELDNAME_STRESSINVARIANT2);
67 Invariant3 = R( Fieldname +
"." FIBER_TENSORFIELDNAME_STRESSINVARIANT3);
68 Pressure = R( Fieldname +
"." FIBER_TENSORFIELDNAME_PRESSURE);
69 Mises = R( Fieldname +
"." FIBER_TENSORFIELDNAME_MISES);
82 if( Pressure ) result.update(*Pressure);
88 bool NeedComputation()
const
90 if (!TheTensorField)
return false;
92 return TheTensorField->isNewerThan( YoungestStressTensorField() );
99 typedef Eagle::tvector3 vec3;
128 bool Discardable =
true);
134 bool HasStressTensorFields()
const;
136 operator bool()
const
138 return HasStressTensorFields();
152 , Pressure ( *
SV.pPressure->creativeIterator() )
153 ,
Mises ( *
SV.pMises->creativeIterator() )
An iterator with an optional DataCreator, which is just a class to intercept creation of data along a...
Definition CreativeIterator.hpp:34
A Representation is a set of Field objects, each of them accessed via some FieldID identifier.
Definition Representation.hpp:101
static constexpr const Ageable & InfinitelyOld() noexcept
Given a fragmented field of curvilinear coordinates, (3D array of coordinates), build a uniform Grid ...
Definition FAQ.dox:2
Definition FEMFields.hpp:73
Definition FEMFields.hpp:89
Definition FEMFields.hpp:105
Definition FEMFields.hpp:121
Contains typed arrays to StressTensorValues.
Definition StressTensorValues.hpp:98
string problem
A description of the problem, if there is any.
Definition StressTensorValues.hpp:102
Definition StressTensorValues.hpp:51
Contains typed arrays for stress tensor realted values.
Definition StressTensorValues.hpp:26
Contains iterators to eigenvalues.
Definition StressTensorValues.hpp:145