All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
OdeSolverLinearEulerExplicitModified.h
Go to the documentation of this file.
1 // This file is a part of the OpenSurgSim project.
2 // Copyright 2013, SimQuest Solutions Inc.
3 //
4 // Licensed under the Apache License, Version 2.0 (the "License");
5 // you may not use this file except in compliance with the License.
6 // You may obtain a copy of the License at
7 //
8 // http://www.apache.org/licenses/LICENSE-2.0
9 //
10 // Unless required by applicable law or agreed to in writing, software
11 // distributed under the License is distributed on an "AS IS" BASIS,
12 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 // See the License for the specific language governing permissions and
14 // limitations under the License.
15 
16 #ifndef SURGSIM_MATH_ODESOLVERLINEAREULEREXPLICITMODIFIED_H
17 #define SURGSIM_MATH_ODESOLVERLINEAREULEREXPLICITMODIFIED_H
18 
20 
21 namespace SurgSim
22 {
23 
24 namespace Math
25 {
26 
31 {
32 public:
36 
37  virtual void solve(double dt, const OdeState& currentState, OdeState* newState) override;
38 
39 private:
42 };
43 
44 }; // namespace Math
45 
46 }; // namespace SurgSim
47 
48 #endif // SURGSIM_MATH_ODESOLVERLINEAREULEREXPLICITMODIFIED_H
49 
50 
virtual void solve(double dt, const OdeState &currentState, OdeState *newState) override
Solves the equation.
Definition: OdeSolverLinearEulerExplicitModified.cpp:31
Ode equation of 2nd order of the form M(x,v).a = F(x, v) with (x0, v0) for initial conditions and a s...
Definition: OdeEquation.h:40
OdeState defines the state y of an ode of 2nd order of the form M(x,v).a = F(x, v) with boundary cond...
Definition: OdeState.h:34
OdeSolverLinearEulerExplicitModified(OdeEquation *equation)
Constructor.
Definition: OdeSolverLinearEulerExplicitModified.cpp:25
bool m_initialized
Has the solver been initialized.
Definition: OdeSolverLinearEulerExplicitModified.h:41
Linear Version of the Modified Euler Explicit ode solver This solver assumes that the system is linea...
Definition: OdeSolverLinearEulerExplicitModified.h:30
Euler Explicit Modified ode solver.
Definition: OdeSolverEulerExplicitModified.h:35