Struct ElasticVirieuxState
pub struct ElasticVirieuxState {
pub step_index: u64,
pub vx: Vec<f64>,
pub vy: Vec<f64>,
pub vz: Vec<f64>,
pub sxx: Vec<f64>,
pub syy: Vec<f64>,
pub szz: Vec<f64>,
pub sxy: Vec<f64>,
pub syz: Vec<f64>,
pub sxz: Vec<f64>,
}Expand description
Complete state of the 3D Virieux staggered-grid velocity-stress solver.
Fields§
§step_index: u64Step index $n$.
vx: Vec<f64>Staggered velocity components vx, vy, vz in m/s.
vy: Vec<f64>Velocity vy in m/s.
vz: Vec<f64>Velocity vz in m/s.
sxx: Vec<f64>Normal stress $\sigma_{xx}$ at cell center in Pa.
syy: Vec<f64>Normal stress $\sigma_{yy}$ at cell center in Pa.
szz: Vec<f64>Normal stress $\sigma_{zz}$ at cell center in Pa.
sxy: Vec<f64>Shear stress $\sigma_{xy}$ at $(i+1/2, j+1/2, k)$ in Pa.
syz: Vec<f64>Shear stress $\sigma_{yz}$ at $(i, j+1/2, k+1/2)$ in Pa.
sxz: Vec<f64>Shear stress $\sigma_{xz}$ at $(i+1/2, j, k+1/2)$ in Pa.
Implementations§
§impl ElasticVirieuxState
impl ElasticVirieuxState
pub fn new(
cfg: &ElasticVirieuxConfig,
) -> Result<ElasticVirieuxState, NumericalError>
pub fn new( cfg: &ElasticVirieuxConfig, ) -> Result<ElasticVirieuxState, NumericalError>
Allocate a zero-initialized state for the given validated configuration.
Trait Implementations§
§impl Clone for ElasticVirieuxState
impl Clone for ElasticVirieuxState
§fn clone(&self) -> ElasticVirieuxState
fn clone(&self) -> ElasticVirieuxState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for ElasticVirieuxState
impl Debug for ElasticVirieuxState
§impl PartialEq for ElasticVirieuxState
impl PartialEq for ElasticVirieuxState
impl StructuralPartialEq for ElasticVirieuxState
Auto Trait Implementations§
impl Freeze for ElasticVirieuxState
impl RefUnwindSafe for ElasticVirieuxState
impl Send for ElasticVirieuxState
impl Sync for ElasticVirieuxState
impl Unpin for ElasticVirieuxState
impl UnsafeUnpin for ElasticVirieuxState
impl UnwindSafe for ElasticVirieuxState
Blanket Implementations§
§impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
Aggregate shares in an MPC protocol.
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
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