SOFA API  c76874b7
Open source framework for multi-physics simuation
sofa::simulation Namespace Reference

Namespaces

 Colors
 
 common
 
 core
 
 graph
 
 scenechecking
 
 tree
 
 xml
 

Classes

class  AnimateBeginEvent
 
class  AnimateEndEvent
 
class  AnimateVisitor
 
class  BaseMechanicalVisitor
 
class  BehaviorUpdatePositionVisitor
 
class  CactusStackStorage
 
class  CleanupVisitor
 
class  CollisionAnimationLoop
 Component responsible for main simulation algorithms, managing how and when collisions and integrations computations happen. More...
 
class  CollisionBeginEvent
 
class  CollisionDetectionVisitor
 Compute collision detection. More...
 
class  CollisionEndEvent
 
class  CollisionResetVisitor
 Remove collision response from last step. More...
 
class  CollisionResponseVisitor
 Compute collision response. More...
 
class  CollisionVisitor
 Compute collision reset, detection and response in one step. More...
 
struct  component_t
 
class  ConstraintStoreLambdaVisitor
 
class  CpuTask
 
class  DeactivationVisitor
 
class  DefaultAnimationLoop
 Default Animation Loop to be created when no AnimationLoop found on simulation::node. More...
 
class  DefaultTaskScheduler
 
class  DefaultVisualManagerLoop
 Default VisualManager Loop to be created when no VisualManager found on simulation::node. More...
 
class  DeleteVisitor
 
class  DofPrintVisitor
 
class  ExportGnuplotVisitor
 
class  ExportOBJVisitor
 
class  FindByTypeVisitor
 
class  InitGnuplotVisitor
 
class  InitPerThreadDataTask
 
class  InitVisitor
 
class  IntegrateBeginEvent
 
class  IntegrateEndEvent
 
class  LocalStorage
 Abstract class allowing actions to store local data as a stack while traversing the graph. More...
 
class  MechanicalAccFromFVisitor
 
class  MechanicalAccumulateConstraint
 
class  MechanicalAccumulateMatrixDeriv
 Accumulate Jacobian matrices through the mappings up to the independant DOFs. More...
 
class  MechanicalAddMBK_ToMatrixVisitor
 
class  MechanicalAddMBKdxVisitor
 
class  MechanicalAddMDxVisitor
 
class  MechanicalAddSeparateGravityVisitor
 
class  MechanicalAddSubMBK_ToMatrixVisitor
 
class  MechanicalApplyConstraintsVisitor
 
class  MechanicalApplyProjectiveConstraint_ToMatrixVisitor
 
class  MechanicalBeginIntegrationVisitor
 
class  MechanicalBuildConstraintMatrix
 Call each BaseConstraintSet to build the Jacobian matrices. More...
 
class  MechanicalComputeContactForceVisitor
 
class  MechanicalComputeDfVisitor
 
class  MechanicalComputeEnergyVisitor
 
class  MechanicalComputeForceVisitor
 
class  MechanicalComputeGeometricStiffness
 
class  MechanicalEndIntegrationVisitor
 
class  MechanicalGetConstraintJacobianVisitor
 
class  MechanicalGetDimensionVisitor
 
class  MechanicalGetMatrixDimensionVisitor
 
class  MechanicalGetMomentumVisitor
 
class  MechanicalIntegrateConstraintsVisitor
 
class  MechanicalIntegrationVisitor
 
class  MechanicalMultiVectorFromBaseVectorVisitor
 
class  MechanicalMultiVectorPeqBaseVectorVisitor
 
class  MechanicalMultiVectorToBaseVectorVisitor
 
class  MechanicalPickParticlesVisitor
 
class  MechanicalPickParticlesWithTagsVisitor
 
class  MechanicalProjectJacobianMatrixVisitor
 
class  MechanicalProjectPositionAndVelocityVisitor
 
class  MechanicalProjectPositionVisitor
 
class  MechanicalProjectVelocityVisitor
 
class  MechanicalPropagateDxAndResetForceVisitor
 
class  MechanicalPropagateDxVisitor
 
class  MechanicalPropagateOnlyPositionAndResetForceVisitor
 
class  MechanicalPropagateOnlyPositionAndVelocityVisitor
 
class  MechanicalPropagateOnlyPositionVisitor
 
class  MechanicalPropagateOnlyVelocityVisitor
 
class  MechanicalResetConstraintVisitor
 
class  MechanicalResetForceVisitor
 
class  MechanicalSetPositionAndVelocityVisitor
 Visitor class used to set positions and velocities of the top level MechanicalStates of the hierarchy. More...
 
class  MechanicalVAllocVisitor
 
class  MechanicalVAvailVisitor
 
class  MechanicalVDotVisitor
 
class  MechanicalVFreeVisitor
 
class  MechanicalVInitVisitor
 
class  MechanicalVisitor
 
class  MechanicalVMultiOpVisitor
 
class  MechanicalVNormVisitor
 
class  MechanicalVOpVisitor
 
class  MechanicalVPrintVisitor
 
class  MechanicalVPrintWithElapsedTimeVisitor
 
class  MechanicalVReallocVisitor
 
class  MechanicalVSizeVisitor
 
class  MechanicalWriteLMConstraint
 
class  MutationListener
 Generic API to handle mutations of the graph. More...
 
class  Node
 
class  ParallelMechanicalVDotVisitor
 
class  ParallelMechanicalVOpMecVisitor
 
class  ParallelMechanicalVOpVisitor
 
class  ParallelVisitorScheduler
 Specialized VisitorScheduler for parallel implementations. More...
 
class  PauseEvent
 
class  PipelineImpl
 
class  PositionEvent
 
class  PrintVisitor
 
class  PropagateEventVisitor
 
class  ResetVisitor
 
class  SceneLoader
 Main class used to register scene file loaders. More...
 
class  SceneLoaderFactory
 
class  SceneLoaderPHP
 
class  SceneLoaderXML
 
class  ScopedLock
 
class  Simulation
 
class  SimulationInitDoneEvent
 
class  SimulationInitStartEvent
 
class  SimulationStartEvent
 
class  SimulationStopEvent
 
class  SolveVisitor
 
class  SpinLock
 
class  StateChangeVisitor
 
class  StdTaskAllocator
 
class  StoreResetStateVisitor
 
class  Task
 
class  TaskScheduler
 
class  ThreadSpecificTask
 
class  TopologyChangeVisitor
 
class  TransformationVisitor
 
class  UpdateBoundingBoxVisitor
 
class  UpdateContextVisitor
 
class  UpdateInternalDataVisitor
 
class  UpdateLinksVisitor
 
class  UpdateMappingEndEvent
 
class  UpdateMappingVisitor
 
class  UpdateSimulationContextVisitor
 
class  UpdateVisualContextVisitor
 
class  VelocityThresholdVisitor
 
class  Visitor
 Base class for visitors propagated recursively through the scenegraph. More...
 
class  VisitorAsync
 
class  VisitorScheduler
 Abstract class defining custom schedule of action execution through the graph. More...
 
class  VisualClearVisitor
 
class  VisualComputeBBoxVisitor
 
class  VisualDrawVisitor
 
class  VisualInitVisitor
 
class  VisualUpdateVisitor
 
class  VisualVisitor
 
class  WorkerThread
 
class  WriteStateVisitor
 
class  XMLPrintVisitor
 

Typedefs

Dependency graph

This graph reflects the dependencies between the components. It is used internally to ensure that the initialization order is comform to the dependencies.

typedef boost::property< component_t, BaseObject::SPtrVertexProperty
 
typedef ::boost::adjacency_list< ::boost::vecS,::boost::vecS,::boost::bidirectionalS, VertexPropertyDependencyGraph
 

Functions

 DEFINE_TASK_SCHEDULER_PROFILER (Push)
 
 DEFINE_TASK_SCHEDULER_PROFILER (Pop)
 
 DEFINE_TASK_SCHEDULER_PROFILER (Steal)
 
 SOFA_THREAD_SPECIFIC_PTR (WorkerThread, workerThreadIndex)
 
void initThreadLocalData ()
 
void setSimulation (Simulation *s)
 Set the (unique) simulation which controls the scene. More...
 
SimulationgetSimulation ()
 

Variables

const SceneLoaderloaderPHP = SceneLoaderFactory::getInstance()->addEntry(new SceneLoaderPHP())
 
const SceneLoaderloaderXML = SceneLoaderFactory::getInstance()->addEntry(new SceneLoaderXML())
 
int DefaultAnimationLoopClass
 
int DefaultVisualManagerLoopClass
 
template class SOFA_SIMULATION_CORE_API MechanicalVAvailVisitor< V_COORD >
 
template class SOFA_SIMULATION_CORE_API MechanicalVAvailVisitor< V_DERIV >
 
template class SOFA_SIMULATION_CORE_API MechanicalVAllocVisitor< V_COORD >
 
template class SOFA_SIMULATION_CORE_API MechanicalVAllocVisitor< V_DERIV >
 
template class SOFA_SIMULATION_CORE_API MechanicalVReallocVisitor< V_COORD >
 
template class SOFA_SIMULATION_CORE_API MechanicalVReallocVisitor< V_DERIV >
 
template class SOFA_SIMULATION_CORE_API MechanicalVFreeVisitor< V_COORD >
 
template class SOFA_SIMULATION_CORE_API MechanicalVFreeVisitor< V_DERIV >
 
template class SOFA_SIMULATION_CORE_API MechanicalVInitVisitor< V_COORD >
 
template class SOFA_SIMULATION_CORE_API MechanicalVInitVisitor< V_DERIV >
 

Typedef Documentation

typedef ::boost::adjacency_list< ::boost::vecS, ::boost::vecS, ::boost::bidirectionalS, VertexProperty > sofa::simulation::DependencyGraph

Function Documentation

sofa::simulation::DEFINE_TASK_SCHEDULER_PROFILER ( Push  )
sofa::simulation::DEFINE_TASK_SCHEDULER_PROFILER ( Pop  )
sofa::simulation::DEFINE_TASK_SCHEDULER_PROFILER ( Steal  )
SOFA_SIMULATION_CORE_API Simulation * sofa::simulation::getSimulation ( )

Get the (unique) simulation which controls the scene. Automatically creates one if no Simulation has been set.

SOFA_SIMULATION_CORE_API void sofa::simulation::initThreadLocalData ( )
SOFA_SIMULATION_CORE_API void sofa::simulation::setSimulation ( Simulation s)

Set the (unique) simulation which controls the scene.

sofa::simulation::SOFA_THREAD_SPECIFIC_PTR ( WorkerThread  ,
workerThreadIndex   
)

Variable Documentation

int sofa::simulation::DefaultAnimationLoopClass
Initial value:
= core::RegisterObject("Simulation loop to use in scene without constraints nor contact.")
.add< DefaultAnimationLoop >()
.addDescription(R"(
This loop do the following steps:
- build and solve all linear systems in the scene : collision and time integration to compute the new values of the dofs
- update the context (dt++)
- update the mappings
- update the bounding box (volume covering all objects of the scene))")
int sofa::simulation::DefaultVisualManagerLoopClass
Initial value:
= core::RegisterObject("The simplest Visual Loop Manager, created by default when user do not put on scene")
.add< DefaultVisualManagerLoop >()
const SceneLoader* sofa::simulation::loaderPHP = SceneLoaderFactory::getInstance()->addEntry(new SceneLoaderPHP())
const SceneLoader* sofa::simulation::loaderXML = SceneLoaderFactory::getInstance()->addEntry(new SceneLoaderXML())
template class SOFA_SIMULATION_CORE_API sofa::simulation::MechanicalVAllocVisitor< V_COORD >
template class SOFA_SIMULATION_CORE_API sofa::simulation::MechanicalVAllocVisitor< V_DERIV >
template class SOFA_SIMULATION_CORE_API sofa::simulation::MechanicalVAvailVisitor< V_COORD >
template class SOFA_SIMULATION_CORE_API sofa::simulation::MechanicalVAvailVisitor< V_DERIV >
template class SOFA_SIMULATION_CORE_API sofa::simulation::MechanicalVFreeVisitor< V_COORD >
template class SOFA_SIMULATION_CORE_API sofa::simulation::MechanicalVFreeVisitor< V_DERIV >
template class SOFA_SIMULATION_CORE_API sofa::simulation::MechanicalVInitVisitor< V_COORD >
template class SOFA_SIMULATION_CORE_API sofa::simulation::MechanicalVInitVisitor< V_DERIV >
template class SOFA_SIMULATION_CORE_API sofa::simulation::MechanicalVReallocVisitor< V_COORD >
template class SOFA_SIMULATION_CORE_API sofa::simulation::MechanicalVReallocVisitor< V_DERIV >