pub struct BemSolution {
pub surface_pressure: Array1<Complex64>,
pub elements: Vec<Element>,
pub nodes: Array2<f64>,
pub incident_field: IncidentField,
pub physics: PhysicsParams,
}Expand description
Solution of a BEM problem
Fields§
§surface_pressure: Array1<Complex64>Surface pressure at each element
elements: Vec<Element>Elements used in the solution
nodes: Array2<f64>Node coordinates
incident_field: IncidentFieldIncident field used
physics: PhysicsParamsPhysics parameters
Implementations§
Source§impl BemSolution
impl BemSolution
Sourcepub fn evaluate_pressure(&self, point: &[f64; 3]) -> Complex64
pub fn evaluate_pressure(&self, point: &[f64; 3]) -> Complex64
Evaluate total pressure at a single point
Sourcepub fn evaluate_pressure_field(&self, points: &Array2<f64>) -> Vec<FieldPoint>
pub fn evaluate_pressure_field(&self, points: &Array2<f64>) -> Vec<FieldPoint>
Evaluate total pressure at multiple points
Sourcepub fn max_surface_pressure(&self) -> f64
pub fn max_surface_pressure(&self) -> f64
Get max surface pressure magnitude
Sourcepub fn mean_surface_pressure(&self) -> f64
pub fn mean_surface_pressure(&self) -> f64
Get mean surface pressure magnitude
Trait Implementations§
Source§impl Clone for BemSolution
impl Clone for BemSolution
Source§fn clone(&self) -> BemSolution
fn clone(&self) -> BemSolution
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for BemSolution
impl RefUnwindSafe for BemSolution
impl Send for BemSolution
impl Sync for BemSolution
impl Unpin for BemSolution
impl UnwindSafe for BemSolution
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more