Skip to content

Commit

Permalink
Exposed secant_stress and secant_tangent on other domain classes.
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveMaas1978 committed Dec 8, 2024
1 parent c2026aa commit ee6fbea
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 0 deletions.
5 changes: 5 additions & 0 deletions FEBioMech/FEElasticANSShellDomain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@ SOFTWARE.*/
#include <FECore/FELinearSystem.h>
#include "FEBioMech.h"

BEGIN_FECORE_CLASS(FEElasticANSShellDomain, FESSIShellDomain)
ADD_PARAMETER(m_secant_stress, "secant_stress");
ADD_PARAMETER(m_secant_tangent, "secant_tangent");
END_FECORE_CLASS();

//-----------------------------------------------------------------------------
FEElasticANSShellDomain::FEElasticANSShellDomain(FEModel* pfem) : FESSIShellDomain(pfem), FEElasticDomain(pfem), m_dofV(pfem), m_dofSV(pfem), m_dofSA(pfem), m_dofR(pfem), m_dof(pfem)
{
Expand Down
2 changes: 2 additions & 0 deletions FEBioMech/FEElasticANSShellDomain.h
Original file line number Diff line number Diff line change
Expand Up @@ -150,4 +150,6 @@ class FEElasticANSShellDomain : public FESSIShellDomain, public FEElasticDomain
FEDofList m_dofSA;
FEDofList m_dofR;
FEDofList m_dof;

DECLARE_FECORE_CLASS();
};
5 changes: 5 additions & 0 deletions FEBioMech/FEElasticEASShellDomain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@ SOFTWARE.*/
#include <FECore/FELinearSystem.h>
#include "FEBioMech.h"

BEGIN_FECORE_CLASS(FEElasticEASShellDomain, FESSIShellDomain)
ADD_PARAMETER(m_secant_stress, "secant_stress");
ADD_PARAMETER(m_secant_tangent, "secant_tangent");
END_FECORE_CLASS();

//-----------------------------------------------------------------------------
FEElasticEASShellDomain::FEElasticEASShellDomain(FEModel* pfem) : FESSIShellDomain(pfem), FEElasticDomain(pfem), m_dofV(pfem), m_dofSV(pfem), m_dofSA(pfem), m_dofR(pfem), m_dof(pfem)
{
Expand Down
2 changes: 2 additions & 0 deletions FEBioMech/FEElasticEASShellDomain.h
Original file line number Diff line number Diff line change
Expand Up @@ -166,4 +166,6 @@ class FEBIOMECH_API FEElasticEASShellDomain : public FESSIShellDomain, public FE
FEDofList m_dofSA;
FEDofList m_dofR;
FEDofList m_dof;

DECLARE_FECORE_CLASS();
};
5 changes: 5 additions & 0 deletions FEBioMech/FEElasticShellDomain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@ SOFTWARE.*/
#include <FECore/FELinearSystem.h>
#include "FEBioMech.h"

BEGIN_FECORE_CLASS(FEElasticShellDomain, FESSIShellDomain)
ADD_PARAMETER(m_secant_stress, "secant_stress");
ADD_PARAMETER(m_secant_tangent, "secant_tangent");
END_FECORE_CLASS();

//-----------------------------------------------------------------------------
FEElasticShellDomain::FEElasticShellDomain(FEModel* pfem) : FESSIShellDomain(pfem), FEElasticDomain(pfem), m_dofV(pfem), m_dofSV(pfem), m_dofSA(pfem), m_dofR(pfem), m_dof(pfem)
{
Expand Down
2 changes: 2 additions & 0 deletions FEBioMech/FEElasticShellDomain.h
Original file line number Diff line number Diff line change
Expand Up @@ -138,4 +138,6 @@ class FEBIOMECH_API FEElasticShellDomain : public FESSIShellDomain, public FEEla
FEDofList m_dofSA;
FEDofList m_dofR;
FEDofList m_dof;

DECLARE_FECORE_CLASS();
};

0 comments on commit ee6fbea

Please sign in to comment.