42StructuralMaterialStatus :: StructuralMaterialStatus(
GaussPoint *g) :
46 int rsize = StructuralMaterial :: giveSizeOfVoigtSymVector(
gp->giveMaterialMode() );
55 if (
gp->giveIntegrationRule() == NULL ) {
59 if ( el->giveGeometryMode() == 1 ) {
72void StructuralMaterialStatus :: printOutputAt(FILE *File,
TimeStep *tStep)
const
77 MaterialStatus :: printOutputAt(File, tStep);
81 StructuralMaterial :: giveFullVectorFormF( helpVec,
FVector,
gp->giveMaterialMode() );
82 for (
auto &var : helpVec ) {
83 fprintf( File,
" %+.4e", var );
86 fprintf(File,
"\n P");
87 StructuralMaterial :: giveFullVectorForm( helpVec,
PVector,
gp->giveMaterialMode() );
88 for (
auto &var : helpVec ) {
89 fprintf( File,
" %+.4e", var );
92 fprintf(File,
" strains ");
93 StructuralMaterial :: giveFullSymVectorForm( helpVec,
strainVector,
gp->giveMaterialMode() );
94 for (
auto &var : helpVec ) {
95 fprintf( File,
" %+.4e", var );
98 fprintf(File,
"\n stresses");
99 StructuralMaterial :: giveFullSymVectorForm( helpVec,
stressVector,
gp->giveMaterialMode() );
101 for (
auto &var : helpVec ) {
102 fprintf( File,
" %+.4e", var );
109void StructuralMaterialStatus :: updateYourself(
TimeStep *tStep)
112 MaterialStatus :: updateYourself(tStep);
121void StructuralMaterialStatus :: initTempStatus()
126 MaterialStatus :: initTempStatus();
130 strainVector.resize( StructuralMaterial :: giveSizeOfVoigtSymVector(
gp->giveMaterialMode() ) );
134 stressVector.resize( StructuralMaterial :: giveSizeOfVoigtSymVector(
gp->giveMaterialMode() ) );
148 MaterialStatus :: saveContext(stream, mode);
164 MaterialStatus :: restoreContext(stream, mode);
176void StructuralMaterialStatus :: copyStateVariables(
const MaterialStatus &iStatus)
195 printf(
"Entering StructuralMaterialStatus :: addStateVariables().\n");
GaussPoint * gp
Associated integration point.
MaterialStatus(GaussPoint *g)
FloatArray tempPVector
Temporary first Piola-Kirchhoff stress vector (to find balanced state).
const FloatArray & giveStrainVector() const
Returns the const pointer to receiver's strain vector.
FloatArray tempFVector
Temporary deformation gradient in reduced form (to find balanced state).
const FloatArray & giveFVector() const
Returns the const pointer to receiver's deformation gradient vector.
const FloatArray & giveTempFVector() const
Returns the const pointer to receiver's temporary deformation gradient vector.
FloatArray tempCVector
Temporary Cauchy stress vector (to find balanced state).
const FloatArray & giveTempStressVector() const
Returns the const pointer to receiver's temporary stress vector.
StructuralMaterialStatus(GaussPoint *g)
Constructor. Creates new StructuralMaterialStatus with IntegrationPoint g.
const FloatArray & givePVector() const
Returns the const pointer to receiver's first Piola-Kirchhoff stress vector.
FloatArray tempStrainVector
Temporary strain vector in reduced form (to find balanced state).
FloatArray tempStressVector
Temporary stress vector in reduced form (increments are used mainly in nonlinear analysis).
const FloatArray & giveTempPVector() const
Returns the const pointer to receiver's temporary first Piola-Kirchhoff stress vector.
const FloatArray & giveStressVector() const
Returns the const pointer to receiver's stress vector.
const FloatArray & giveCVector() const
Returns the const pointer to receiver's Cauchy stress vector.
FloatArray stressVector
Equilibrated stress vector in reduced form.
const FloatArray & giveTempStrainVector() const
Returns the const pointer to receiver's temporary strain vector.
FloatArray PVector
Equilibrated first Piola-Kirchhoff stress vector.
FloatArray strainVector
Equilibrated strain vector in reduced form.
const FloatArray & giveTempCVector() const
Returns the const pointer to receiver's temporary Cauchy stress vector.
FloatArray CVector
Equilibrated Cauchy stress vector.
FloatArray FVector
Equilibrated deformation gradient in reduced form.