INITSTATE utility

Purpose

Calculates the density and specific internal energy necessary to give a specified pressure and temperature. Uses the WXC++ optimiser class.

Input

equation_of_state (see EOS reference)
pressure temperature
pressure_weight temperature_weight
estimated_density estimated_specific_internal_energy
verbose_flag (0/1 for diagnostic output off/on)
optimisation_scheme (see WXC++ documentation)

The weights are used in calculating the deviation from the desired state.

Files