BELFEM
0.9.0
Berkeley Lab Finite Element Framework
Toggle main menu visibility
Loading...
Searching...
No Matches
fn_ODE_DOP853.hpp
Go to the documentation of this file.
1
/*
2
* BELFEM -- The Berkeley Lab Finite Element Framework
3
* Copyright (c) 2026, The Regents of the University of California,
4
* through Lawrence Berkeley National Laboratory (subject to receipt of any required
5
* approvals from the U.S. Dept. of Energy). All rights reserved.
6
*
7
* Developers: Christian Messe, Gregory Giard
8
*
9
* See the top-level LICENSE file for the complete license and disclaimer.
10
*/
11
12
#ifndef BELFEM_FN_ODE_DOP853_HPP
13
#define BELFEM_FN_ODE_DOP853_HPP
14
15
#include "
typedefs.hpp
"
16
#include "
cl_Cell.hpp
"
17
#include "
cl_Vector.hpp
"
18
#include "
cl_ODE.hpp
"
19
#include "
en_ODE_Status.hpp
"
20
21
namespace
belfem
22
{
23
namespace
ode
24
{
25
//------------------------------------------------------------------------------
26
40
Status
41
DOP853
(
ODE
& aODE,
42
real
& aT,
43
Vector< real > & aY,
44
real
& aStep,
45
Cell< Vector< real > > & aWork,
46
const
real
aEpsilon = 1e-7,
47
const
uint
aMaxIterations = 1000,
48
const
real
aTmax =
BELFEM_REAL_MAX
,
49
const
bool
aAutoTimestep =
true
);
50
51
//------------------------------------------------------------------------------
52
53
void
54
DOP853_init
(
ODE
& aODE, Cell< Vector< real > > & aWork );
55
56
//------------------------------------------------------------------------------
57
}
58
}
59
60
#endif
//BELFEM_FN_ODE_DOP853_HPP
cl_Cell.hpp
cl_ODE.hpp
cl_Vector.hpp
belfem::ode::ODE
an object that can create an ordinary differential equation
Definition
cl_ODE.hpp:28
en_ODE_Status.hpp
belfem::ode
Definition
cl_BDF.cpp:21
belfem::ode::DOP853
Status DOP853(ODE &aODE, real &aT, Vector< real > &aY, real &aStep, Cell< Vector< real > > &aWork, const real aEpsilon, const uint aMaxIterations, const real aTmax, const bool aAutoTimestep)
Dormand-Prince 8(5,3) explicit Runge-Kutta method (DOP853).
Definition
fn_ODE_DOP853.cpp:43
belfem::ode::Status
Status
Definition
en_ODE_Status.hpp:20
belfem::ode::DOP853_init
void DOP853_init(ODE &aODE, Cell< Vector< real > > &aWork)
Definition
fn_ODE_DOP853.cpp:26
belfem
USER GUIDES:
Definition
cl_Capacitor.cpp:16
belfem::uint
unsigned int uint
Definition
typedefs.hpp:30
belfem::real
double real
Definition
typedefs.hpp:36
typedefs.hpp
BELFEM_REAL_MAX
#define BELFEM_REAL_MAX
Definition
typedefs.hpp:81
src
numerics
ode
fn_ODE_DOP853.hpp
Generated by
1.18.0