Added: INT_FORCES solution mode (internal forces only)
This commit is contained in:
parent
b1b42ebb92
commit
f889e27c6c
@ -32,8 +32,8 @@
|
|||||||
LocalIntegral* IntegrandBase::getLocalIntegral (size_t nen, size_t,
|
LocalIntegral* IntegrandBase::getLocalIntegral (size_t nen, size_t,
|
||||||
bool neumann) const
|
bool neumann) const
|
||||||
{
|
{
|
||||||
ElmMats* result = new ElmMats(!neumann && m_mode != SIM::RECOVERY);
|
ElmMats* result = new ElmMats(!neumann && m_mode < SIM::RECOVERY);
|
||||||
result->rhsOnly = m_mode == SIM::RHS_ONLY || m_mode == SIM::RECOVERY;
|
result->rhsOnly = m_mode >= SIM::RHS_ONLY;
|
||||||
result->resize(neumann ? 0 : 1, 1);
|
result->resize(neumann ? 0 : 1, 1);
|
||||||
result->redim(npv*nen);
|
result->redim(npv*nen);
|
||||||
|
|
||||||
|
@ -37,6 +37,7 @@ namespace SIM //! Simulation scope
|
|||||||
STIFF_ONLY,
|
STIFF_ONLY,
|
||||||
MASS_ONLY,
|
MASS_ONLY,
|
||||||
RHS_ONLY,
|
RHS_ONLY,
|
||||||
|
INT_FORCES,
|
||||||
RECOVERY
|
RECOVERY
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user