void vcs_switch_pos(const bool ifunc, const size_t k1, const size_t k2)
Swaps the indices for all of the global data for two species, k1 and k2.
Header file for the internal object that holds the vcs equilibrium problem (see Class VCS_SOLVE and E...
std::vector< size_t > m_speciesMapIndex
Index vector that keeps track of the species vector rearrangement.
Internal declarations for the VCSnonideal package.
size_t m_numSpeciesTot
Total number of species in the problems.
int vcs_rearrange()
Switch all species data back to the original order.