/// Produce a flat representation of the coords, with lattice params included as elements.
Produce a flat representation of the coords, with lattice params included as elements.
Produce a flat representation of the coords with lattice params included as elements .
pub fn flatten_coords(&self, coords: &Coords) -> Vec<f64> {
        match self {
            RelaxationOptimizationHelper::ParamBased(helper) => helper.flatten_coords(coords),
            RelaxationOptimizationHelper::LatticeBased(helper) => helper.flatten_coords(coords),
        }
    }
pub fn flatten_coords ( & self , coords : & Coords ) -> Vec < f64 > { match self { RelaxationOptimizationHelper :: ParamBased ( helper ) => helper . flatten_coords ( coords ) , RelaxationOptimizationHelper :: LatticeBased ( helper ) => helper . flatten_coords ( coords ) , } }
Produce a flat representation of the coords, with lattice params included as elements.
Produce a flat representation of the coords with lattice params included as elements .
&self
coords
&Coords