Defined in Program listing for file kernel/src/simulationTools/MoreauJeanBilbaoOSI.hpp
MoreauJeanBilbaoOSI
: public OneStepIntegrator¶Public Functions
~MoreauJeanBilbaoOSI
()¶destructor
addInteractionInIndexSet
(SP::Interaction inter, unsigned int i)¶Apply the rule to one Interaction to know if it should be included in the IndexSet of level i.
inter
: the Interaction to test i
: level of the IndexSet computeFreeOutput
(InteractionsGraph::VDescriptor &vertex_inter, OneStepNSProblem *osnsp)¶integrates the Interaction linked to this integrator, without taking non-smooth effects into account
vertex_inter
: vertex of the interaction graph osnsp
: pointer to OneStepNSProblem computeFreeState
()¶Perform the integration of the dynamical systems linked to this integrator without taking into account the nonsmooth input ( _p)
computeResidu
()¶return the maximum of all norms for the “MoreauJeanOSI-discretized” residus of DS
display
()¶print the data to the screen
initialize_nonsmooth_problems
()¶Initialization process of the nonsmooth problems linked to this OSI.
initializeWorkVectorsForDS
(double t, SP::DynamicalSystem ds)¶initialization of the work vectors and matrices (properties) related to one dynamical system on the graph and needed by the osi
t
: time of initialization ds
: the dynamical system initializeWorkVectorsForInteraction
(Interaction &inter, InteractionProperties &interProp, DynamicalSystemsGraph &DSG)¶initialization of the work vectors and matrices (properties) related to one interaction on the graph and needed by the osi
inter
: the interaction interProp
: the properties on the graph DSG
: the dynamical systems graph integrate
(double &tinit, double &tend, double &tout, int &idid)¶integrate the system, between tinit and tend (->iout=true), with possible stop at tout (->iout=false)
tinit
: initial time tend
: end time tout
: real end time idid
: flag used in EventDriven schemes iteration_matrix
(SP::DynamicalSystem ds)¶get iteration_matrix (pointer link) corresponding to DynamicalSystem ds
ds
: a pointer to DynamicalSystem numberOfIndexSets
() const¶get the number of index sets required for the simulation
removeInteractionFromIndexSet
(SP::Interaction inter, unsigned int i)¶Apply the rule to one Interaction to know if it should be removed from the IndexSet of level i.
inter
: the Interaction to test i
: level of the IndexSet updatePosition
(DynamicalSystem &ds)¶update the state of the dynamical systems
ds
: the dynamical to update updateState
(const unsigned int level)¶update the state of the DynamicalSystem attached to this Integrator
level
: level of interest for the dynamics level is set to 0 by default since in all time-stepping schemes we update all the state whatever the value of level is.