openCARP
Doxygen code documentation for the open cardiac electrophysiology simulator openCARP
Rosenbrock.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) NumeriCor GmbH
2 // SPDX-License-Identifier: LicenseRef-APL-1.1
3 
4 #ifndef ROSENBROCK_H
5 #define ROSENBROCK_H
6 
7 #include <stdio.h>
8 #include <stdlib.h>
9 #include <math.h>
10 #include <stdbool.h>
11 
12 namespace limpet {
13 
14 #define RS_ORDER 4
15 #define RS_MAX_N 36
16 #define RM(rowlength,row,col) (((rowlength)*(row))+(col))
17 
18 #ifdef __cplusplus
19 extern "C"
20 {
21 #endif // ifdef __cplusplus
22 
23 void rbStepX ( float *X, void (*calcDX)(float*, float*, void*),
24  void (*calcJ)(float**, float*, void*, int ),
25  void *params, float h, int N );
26 
27 #ifdef __cplusplus
28 }
29 #endif // ifdef __cplusplus
30 
31 } // namespace limpet
32 
33 #endif
@ X
Definition: kdpart.hpp:49
void rbStepX(float *X, void(*calcDX)(float *, float *, void *), void(*calcJ)(float **, float *, void *, int), void *params, float h, int N)
Definition: Rosenbrock.cc:86