Enum Geometry
pub enum Geometry {
Rectangular = 1,
Cylindrical = 2,
Spherical = 3,
}
Expand description
Mesh geometry types
In MCNP there are three primary mesh geometries:
Rectangular
Cylindrical
Spherical
Variants§
Rectangular = 1
Cartesian (rec, xyz) mesh type
Cylindrical = 2
Cylindrical (cyl, rzt) mesh type
Spherical = 3
Spherical (sph, rpt) mesh type
Implementations§
§impl Geometry
impl Geometry
pub fn short_name(&self) -> &str
pub fn short_name(&self) -> &str
Shortened name i.e. ‘Rec’, ‘Cyl’, ‘Sph’
pub fn geometry_name(&self) -> &str
pub fn geometry_name(&self) -> &str
Coordinate system based name i.e. ‘XYZ’, ‘RZT’, ‘RPT’
Trait Implementations§
impl Copy for Geometry
impl StructuralPartialEq for Geometry
Auto Trait Implementations§
impl Freeze for Geometry
impl RefUnwindSafe for Geometry
impl Send for Geometry
impl Sync for Geometry
impl Unpin for Geometry
impl UnwindSafe for Geometry
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