pub struct ConductionMesh {
pub mesh: Arc<FvMesh>,
pub cell_zone: Vec<usize>,
pub n_zones: usize,
}Expand description
A mesh plus the zone (material region) of every cell.
Fields§
§mesh: Arc<FvMesh>The finite-volume mesh, lengths in metres.
cell_zone: Vec<usize>Zone index of each cell; zones carry the heat source and conductivity.
n_zones: usizeNumber of zones (max(cell_zone) + 1, or more if a zone has no cell).
Trait Implementations§
Source§impl Clone for ConductionMesh
impl Clone for ConductionMesh
Auto Trait Implementations§
impl Freeze for ConductionMesh
impl RefUnwindSafe for ConductionMesh
impl Send for ConductionMesh
impl Sync for ConductionMesh
impl Unpin for ConductionMesh
impl UnsafeUnpin for ConductionMesh
impl UnwindSafe for ConductionMesh
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