Skip to content

ExtraMonitor

Monitoring of particles Supports GPU-side computation using CUDA

Templates:

  • Rigid3d
  • Vec3d
  • Vec6d

Target: SofaValidation

namespace: sofa::component::misc

parents:

  • Monitor

Data:

Name Description Default value
name object name unnamed
printLog if true, emits extra messages at runtime. 0
tags list of the subsets the objet belongs to
bbox this object bounding box
componentState The state of the component among (Dirty, Valid, Undefined, Loading, Invalid). Undefined
listening if true, handle the events, otherwise ignore the events 0
indices MechanicalObject points indices to monitor
ExportPositions export Monitored positions as gnuplot file 0
ExportVelocities export Monitored velocities as gnuplot file 0
ExportForces export Monitored forces as gnuplot file 0
PositionsColor define the color of positions
VelocitiesColor define the color of velocities
ForcesColor define the color of forces
TrajectoriesPrecision set the dt between to save of positions 0.1
TrajectoriesColor define the color of the trajectories
sizeFactor factor to multiply to arrows 1
fileName name of the plot files to be generated
ExportWcin export Wcin of the monitored dofs as gnuplot file 0
ExportWext export Wext of the monitored dofs as gnuplot file 0
resultantF export force resultant of the monitored dofs as gnuplot file instead of all dofs 1
minCoord export minimum displacement on the given coordinate as gnuplot file instead of positions of all dofs -1
maxCoord export minimum displacement on the given coordinate as gnuplot file instead of positions of all dofs -1
dispCoord export displacement on the given coordinate as gnuplot file -1
Visualization
showPositions see the Monitored positions 0
showVelocities see the Monitored velocities 0
showForces see the Monitored forces 0
showMinThreshold under this value, vectors are not represented 0.01
showTrajectories print the trajectory of Monitored particles 0

Links:

Name Description
context Graph Node containing this object (or BaseContext::getDefault() if no graph is used)
slaves Sub-objects used internally by this object
master nullptr for regular objects, or master object for which this object is one sub-objects