openCARP
Doxygen code documentation for the open cardiac electrophysiology simulator openCARP
physics
limpet
src
Rosenbrock.h
Go to the documentation of this file.
1
// ----------------------------------------------------------------------------
2
// openCARP is an open cardiac electrophysiology simulator.
3
//
4
// Copyright (C) 2020 openCARP project
5
//
6
// This program is licensed under the openCARP Academic Public License (APL)
7
// v1.0: You can use and redistribute it and/or modify it in non-commercial
8
// academic environments under the terms of APL as published by the openCARP
9
// project v1.0, or (at your option) any later version. Commercial use requires
10
// a commercial license (info@opencarp.org).
11
//
12
// This program is distributed without any warranty; see the openCARP APL for
13
// more details.
14
//
15
// You should have received a copy of the openCARP APL along with this program
16
// and can find it online: http://www.opencarp.org/license
17
// ----------------------------------------------------------------------------
18
19
#ifndef ROSENBROCK_H
20
#define ROSENBROCK_H
21
22
#include <stdio.h>
23
#include <stdlib.h>
24
#include <math.h>
25
#include <stdbool.h>
26
27
namespace
limpet
{
28
29
#define RS_ORDER 4
30
#define RS_MAX_N 36
31
#define RM(rowlength,row,col) (((rowlength)*(row))+(col))
32
33
#ifdef __cplusplus
34
extern
"C"
35
{
36
#endif // ifdef __cplusplus
37
38
void
rbStepX
(
float
*
X
,
void
(*calcDX)(
float
*,
float
*,
void
*),
39
void
(*calcJ)(
float
**,
float
*,
void
*,
int
),
40
void
*params,
float
h,
int
N );
41
42
#ifdef __cplusplus
43
}
44
#endif // ifdef __cplusplus
45
46
}
// namespace limpet
47
48
#endif
limpet
Definition:
ap_analyzer.cc:41
limpet::rbStepX
void rbStepX(float *X, void(*calcDX)(float *, float *, void *), void(*calcJ)(float **, float *, void *, int), void *params, float h, int N)
Definition:
Rosenbrock.cc:101
kdpart::X
Definition:
kdpart.hpp:64
Generated by
1.8.13