Trait Volume

pub trait Volume<F = f64> {
    // Required method
    fn get_volume(&self) -> F;
}
Expand description

Obtain the current volume of the cell

This trait is used when updating extracellular reactions and processes. For more details see domain.

Required Methods§

fn get_volume(&self) -> F

Obtain the cells current volume.

Implementors§

§

impl Volume for Bacteria

§

impl<Mec, Int, Cyc, React, IntExtracellular> Volume for ModularCell<Mec, Int, Cyc, React, IntExtracellular>

§

impl<const D: usize, const N: usize> Volume for CartesianCuboidVoxel2Vertex<D, N>

§

impl<const N: usize> Volume for CartesianCuboidVoxel1<N>

§

impl<const N: usize> Volume for CartesianCuboidVoxel2<N>

§

impl<const N: usize> Volume for CartesianCuboidVoxel3<N>