use gmt_dos_clients_fem::{DiscreteStateSpace, StateSpaceError, solvers::ExponentialMatrix};
use crate::builder::Include;
#[derive(Debug, Clone, Default)]
pub struct ReferenceBody();
impl ReferenceBody {
pub fn new() -> Self {
Self()
}
}
impl<'a> Include<'a, ReferenceBody> for DiscreteStateSpace<'a, ExponentialMatrix> {
fn including(
self,
reference_body: Option<&'a mut ReferenceBody>,
) -> Result<Self, StateSpaceError> {
let Some(_) = reference_body else {
return Ok(self);
};
Ok(self.outs::<gmt_dos_clients_io::gmt_fem::outputs::MCM2RB6D>())
}
}