use crate::{Complex32, FortranInteger};
pub type SdriveRhsF32 = unsafe extern "C" fn(*mut FortranInteger, *mut f32, *mut f32, *mut f32);
pub type SdriveRhsF64 = unsafe extern "C" fn(*mut FortranInteger, *mut f64, *mut f64, *mut f64);
pub type CdriveRhsF32 = unsafe extern "C" fn(
*mut FortranInteger,
*mut f32,
*mut Complex32,
*mut Complex32,
);
pub type CdriveRootF32 =
unsafe extern "C" fn(*mut FortranInteger, *mut f32, *mut Complex32, *mut FortranInteger) -> f32;
pub type SdriveJacobianF32 = unsafe extern "C" fn(
*mut FortranInteger,
*mut f32,
*mut f32,
*mut f32,
*mut FortranInteger,
*mut FortranInteger,
*mut FortranInteger,
);
pub type SdriveJacobianF64 = unsafe extern "C" fn(
*mut FortranInteger,
*mut f64,
*mut f64,
*mut f64,
*mut FortranInteger,
*mut FortranInteger,
*mut FortranInteger,
);
pub type SdriveMassF32 = unsafe extern "C" fn(
*mut FortranInteger,
*mut f32,
*mut f32,
*mut f32,
*mut FortranInteger,
*mut FortranInteger,
*mut FortranInteger,
*mut FortranInteger,
);
pub type SdriveMassF64 = unsafe extern "C" fn(
*mut FortranInteger,
*mut f64,
*mut f64,
*mut f64,
*mut FortranInteger,
*mut FortranInteger,
*mut FortranInteger,
*mut FortranInteger,
);
pub type SdriveRootF32 =
unsafe extern "C" fn(*mut FortranInteger, *mut f32, *mut f32, *mut FortranInteger) -> f32;
pub type SdriveRootF64 =
unsafe extern "C" fn(*mut FortranInteger, *mut f64, *mut f64, *mut FortranInteger) -> f64;
pub type SdriveUsersF32 = unsafe extern "C" fn(
*mut f32,
*mut f32,
*mut f32,
*mut f32,
*mut f32,
*mut f32,
*mut f32,
*mut f32,
*mut f32,
*mut FortranInteger,
*mut FortranInteger,
*mut FortranInteger,
);
pub type SdriveUsersF64 = unsafe extern "C" fn(
*mut f64,
*mut f64,
*mut f64,
*mut f64,
*mut f64,
*mut f64,
*mut f64,
*mut f64,
*mut f64,
*mut FortranInteger,
*mut FortranInteger,
*mut FortranInteger,
);
unsafe extern "C" {
#[link_name = "sdriv1_"]
#[doc = include_str!(concat!(env!("CARGO_MANIFEST_DIR"), "/src/generated_docs/sdriv1.md"))]
pub fn sdriv1(
n: *mut FortranInteger,
t: *mut f32,
y: *mut f32,
function: SdriveRhsF32,
tout: *mut f32,
mstate: *mut FortranInteger,
eps: *mut f32,
work: *mut f32,
lenw: *mut FortranInteger,
ierflg: *mut FortranInteger,
);
#[link_name = "ddriv1_"]
#[doc = include_str!(concat!(env!("CARGO_MANIFEST_DIR"), "/src/generated_docs/ddriv1.md"))]
pub fn ddriv1(
n: *mut FortranInteger,
t: *mut f64,
y: *mut f64,
function: SdriveRhsF64,
tout: *mut f64,
mstate: *mut FortranInteger,
eps: *mut f64,
work: *mut f64,
lenw: *mut FortranInteger,
ierflg: *mut FortranInteger,
);
#[link_name = "sdriv2_"]
#[doc = include_str!(concat!(env!("CARGO_MANIFEST_DIR"), "/src/generated_docs/sdriv2.md"))]
pub fn sdriv2(
n: *mut FortranInteger,
t: *mut f32,
y: *mut f32,
function: SdriveRhsF32,
tout: *mut f32,
mstate: *mut FortranInteger,
nroot: *mut FortranInteger,
eps: *mut f32,
ewt: *mut f32,
mint: *mut FortranInteger,
work: *mut f32,
lenw: *mut FortranInteger,
iwork: *mut FortranInteger,
leniw: *mut FortranInteger,
g: SdriveRootF32,
ierflg: *mut FortranInteger,
);
#[link_name = "ddriv2_"]
#[doc = include_str!(concat!(env!("CARGO_MANIFEST_DIR"), "/src/generated_docs/ddriv2.md"))]
pub fn ddriv2(
n: *mut FortranInteger,
t: *mut f64,
y: *mut f64,
function: SdriveRhsF64,
tout: *mut f64,
mstate: *mut FortranInteger,
nroot: *mut FortranInteger,
eps: *mut f64,
ewt: *mut f64,
mint: *mut FortranInteger,
work: *mut f64,
lenw: *mut FortranInteger,
iwork: *mut FortranInteger,
leniw: *mut FortranInteger,
g: SdriveRootF64,
ierflg: *mut FortranInteger,
);
#[link_name = "cdriv1_"]
#[doc = include_str!(concat!(env!("CARGO_MANIFEST_DIR"), "/src/generated_docs/cdriv1.md"))]
pub fn cdriv1(
n: *mut FortranInteger,
t: *mut f32,
y: *mut Complex32,
function: CdriveRhsF32,
tout: *mut f32,
mstate: *mut FortranInteger,
eps: *mut f32,
work: *mut Complex32,
lenw: *mut FortranInteger,
ierflg: *mut FortranInteger,
);
#[link_name = "cdriv2_"]
#[doc = include_str!(concat!(env!("CARGO_MANIFEST_DIR"), "/src/generated_docs/cdriv2.md"))]
pub fn cdriv2(
n: *mut FortranInteger,
t: *mut f32,
y: *mut Complex32,
function: CdriveRhsF32,
tout: *mut f32,
mstate: *mut FortranInteger,
nroot: *mut FortranInteger,
eps: *mut f32,
ewt: *mut f32,
mint: *mut FortranInteger,
work: *mut Complex32,
lenw: *mut FortranInteger,
iwork: *mut FortranInteger,
leniw: *mut FortranInteger,
g: CdriveRootF32,
ierflg: *mut FortranInteger,
);
#[link_name = "sdriv3_"]
#[doc = include_str!(concat!(env!("CARGO_MANIFEST_DIR"), "/src/generated_docs/sdriv3.md"))]
pub fn sdriv3(
n: *mut FortranInteger,
t: *mut f32,
y: *mut f32,
function: SdriveRhsF32,
nstate: *mut FortranInteger,
tout: *mut f32,
ntask: *mut FortranInteger,
nroot: *mut FortranInteger,
eps: *mut f32,
ewt: *mut f32,
ierror: *mut FortranInteger,
mint: *mut FortranInteger,
miter: *mut FortranInteger,
impl_: *mut FortranInteger,
ml: *mut FortranInteger,
mu: *mut FortranInteger,
mxord: *mut FortranInteger,
hmax: *mut f32,
work: *mut f32,
lenw: *mut FortranInteger,
iwork: *mut FortranInteger,
leniw: *mut FortranInteger,
jacobn: SdriveJacobianF32,
fa: SdriveMassF32,
nde: *mut FortranInteger,
mxstep: *mut FortranInteger,
g: SdriveRootF32,
users: SdriveUsersF32,
ierflg: *mut FortranInteger,
);
#[link_name = "ddriv3_"]
#[doc = include_str!(concat!(env!("CARGO_MANIFEST_DIR"), "/src/generated_docs/ddriv3.md"))]
pub fn ddriv3(
n: *mut FortranInteger,
t: *mut f64,
y: *mut f64,
function: SdriveRhsF64,
nstate: *mut FortranInteger,
tout: *mut f64,
ntask: *mut FortranInteger,
nroot: *mut FortranInteger,
eps: *mut f64,
ewt: *mut f64,
ierror: *mut FortranInteger,
mint: *mut FortranInteger,
miter: *mut FortranInteger,
impl_: *mut FortranInteger,
ml: *mut FortranInteger,
mu: *mut FortranInteger,
mxord: *mut FortranInteger,
hmax: *mut f64,
work: *mut f64,
lenw: *mut FortranInteger,
iwork: *mut FortranInteger,
leniw: *mut FortranInteger,
jacobn: SdriveJacobianF64,
fa: SdriveMassF64,
nde: *mut FortranInteger,
mxstep: *mut FortranInteger,
g: SdriveRootF64,
users: SdriveUsersF64,
ierflg: *mut FortranInteger,
);
}
#[cfg(feature = "raw-family-ode-integration")]
#[path = "batch_a/ode.rs"]
mod canonical_bindings;
#[cfg(feature = "raw-family-ode-integration")]
pub use canonical_bindings::*;
#[cfg(feature = "raw-family-ode-callbacks")]
#[path = "batch_b/ode.rs"]
mod callback_bindings;
#[cfg(feature = "raw-family-ode-callbacks")]
pub use callback_bindings::callbacks;