SOFA API  ca70b0f0
Open source framework for multi-physics simuation
sofa::component::odesolver::testing::ODESolverSpringTest Struct Reference

#include <ODESolverSpringTest.h>

Inheritance diagram for sofa::component::odesolver::testing::ODESolverSpringTest:

Public Attributes

SceneInstance m_si {}
- Public Attributes inherited from sofa::testing::BaseTest
sofa::testing::MessageAsTestFailure m_fatal
sofa::testing::MessageAsTestFailure m_error

Public Member Functions

void prepareScene (double K, double m, double l0)
- Public Member Functions inherited from sofa::testing::BaseSimulationTest
 BaseSimulationTest ()
bool importPlugin (const std::string &name)
- Public Member Functions inherited from sofa::testing::BaseTest
 BaseTest ()
 Initialize Sofa and the random number generator. More...
 ~BaseTest () override
virtual void onSetUp ()
virtual void onTearDown ()

Additional Inherited Members

- Static Public Attributes inherited from sofa::testing::BaseTest
static int seed = (unsigned int)time(nullptr)
 Seed value. More...

Attribute details

◆ m_si

SceneInstance sofa::component::odesolver::testing::ODESolverSpringTest::m_si {}

Function details

◆ prepareScene()

void sofa::component::odesolver::testing::ODESolverSpringTest::prepareScene ( double  K,
double  m,
double  l0