pub trait SystemBoundaryConds<const N: usize>: Clone {
// Required method
fn kind(&self, channel: usize, _face: Face<N>) -> BoundaryKind;
// Provided methods
fn radiative(&self, _channel: usize, _position: [f64; N]) -> RadiativeParams { ... }
fn dirichlet(&self, _channel: usize, _position: [f64; N]) -> DirichletParams { ... }
fn field(&self, channel: usize) -> FieldBoundaryConds<N, Self> { ... }
}Expand description
A generalization of Condition<N> for a coupled systems of scalar fields.
Required Methods§
fn kind(&self, channel: usize, _face: Face<N>) -> BoundaryKind
Provided Methods§
fn radiative(&self, _channel: usize, _position: [f64; N]) -> RadiativeParams
fn dirichlet(&self, _channel: usize, _position: [f64; N]) -> DirichletParams
fn field(&self, channel: usize) -> FieldBoundaryConds<N, Self>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.