Class FrozenCoordsConverter#
Defined in File frozen_atoms.hpp
Class Documentation#
-
class FrozenCoordsConverter#
Class for converting to and from a reduced representation and back.
The full set of coordinates includes the mobile and frozen degrees of freedom. The reduced set of coordinates includes only the mobile degrees of freedom.
Public Functions
- inline FrozenCoordsConverter( )#
-
inline size_t ndof() const#
-
inline size_t ndof_frozen() const#
-
inline size_t ndof_mobile() const#
-
inline Array<double> get_reduced_coords(Array<double> const &full_coords)#
Return the reduced representation of the system.
i.e. return a set of coordinates with the frozen degrees of freedom removed.
-
inline Array<double> get_full_coords(Array<double> const &reduced_coords)#
Return the full representation of the system.
i.e. return a set of coordinates with the frozen degrees of freedom added back in.