19 #include <agx/config/AGX_USE_HDF5.h> 35 : lowerBound( lowerBound ),
36 upperBound( upperBound ),
37 normalForce( normalForce ),
38 frictionCoefficient( frictionCoefficient )
56 virtual void beginSimulationStep() = 0;
57 virtual void endSimulationStep() = 0;
59 virtual void beginSolve() = 0;
60 virtual void endSolve() = 0;
62 virtual void beginIteration() = 0;
63 virtual void endIteration() = 0;
68 virtual void close() = 0;
86 NUM_ITERATION_DATA_ENTRIES
90 using IterationData = std::array<IterationDataEntry, NUM_ITERATION_DATA_ENTRIES>;
108 virtual void beginSimulationStep()
override;
109 virtual void endSimulationStep()
override;
111 virtual void beginSolve()
override;
112 virtual void endSolve()
override;
114 virtual void beginIteration()
override;
115 virtual void endIteration()
override;
120 virtual void close()
override;
123 virtual ~NlSolveDataH5();
127 IterationNodeVector m_iterationNodes;
130 H5::Group m_simulationStepGroup;
agx::Real frictionCoefficient
Data(agx::Real lowerBound, agx::Real upperBound, agx::Real normalForce, agx::Real frictionCoefficient)
Base class providing referencing counted objects.
The agx namespace contains the dynamics/math part of the AGX Dynamics API.
bool AGXPHYSICS_EXPORT write(const std::string &filename, const agxStream::Serializable *data)
Write a Serializable object to a file.