Enum wafer::config::CentralDifference [−][src]
pub enum CentralDifference {
ThreePoint,
FivePoint,
SevenPoint,
}Sets the precision of the central difference formalism.
Variants
ThreePoint3 point, good to 𝓞(grid.dn²).
FivePoint5 point, good to 𝓞(grid.dn⁴).
SevenPoint7 point, good to 𝓞(grid.dn⁶).
Methods
impl CentralDifference[src]
impl CentralDifferencepub fn bb(&self) -> usize[src]
pub fn bb(&self) -> usizeGrabs the B ounding B ox size for the current precision.
pub fn ext(&self) -> usize[src]
pub fn ext(&self) -> usizeGrabs how much the work area is extended in one direction for the current precision.
Trait Implementations
impl Debug for CentralDifference[src]
impl Debug for CentralDifferencefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Display for CentralDifference[src]
impl Display for CentralDifferenceAuto Trait Implementations
impl Send for CentralDifference
impl Send for CentralDifferenceimpl Sync for CentralDifference
impl Sync for CentralDifference