MGIS
Loading...
Searching...
No Matches
Integrate.ixx File Reference
#include <algorithm>
#include "MGIS/Behaviour/Behaviour.hxx"

Namespaces

namespace  mgis
 the namespace mgis encloses all the MGIS project.
 

Functions

int mgis::behaviour::integrate (BehaviourDataView &, const Behaviour &)
 integrate the behaviour. The returned value has the following meaning:
 

Detailed Description

Author
Thomas Helfer
Date
01/08/2018

Function Documentation

◆ integrate()

int mgis::behaviour::integrate ( BehaviourDataView &  d,
const Behaviour b 
)
inline

integrate the behaviour. The returned value has the following meaning:

  • -1: integration failed
  • 0: integration succeeded but results are unreliable
  • 1: integration succeeded and results are reliable
Parameters
[in,out]dbehaviour data
[in,out]bbehaviour
Note
: the type of integration to be performed, must be explicitely set in d.K[0], as follows (see the IntegrationType enum).

If d.K[0] is greater than 50, the speed of sound must be computed.

Let Ke be equal to:

  • d.K[0] - 100 if d.K[0] is greater than 50
  • d.K[0] otherwise.

If Ke is negative, only the prediction operator is computed and no behaviour integration is performed.

Ke has the following meaning:

  • if Ke is lower than -2.5, the tangent operator must be computed.
  • if Ke is in [-2.5:-1.5]: the secant operator must be computed.
  • if Ke is in [-1.5:-0.5]: the elastic operator must be computed.
  • if Ke is in [-0.5:0.5]: the behaviour integration is performed, but no stiffness matrix.
  • if Ke is in [0.5:1.5]: the elastic operator must be computed.
  • if Ke is in [1.5:2.5]: the secant operator must be computed.
  • if Ke is in [2.5:3.5]: the tangent operator must be computed.
  • if Ke is greater than 3.5, the consistent tangent operator must be computed.