Nodes of different colours represent the following:
Solid arrows point from a submodule to the (sub)module which it is
descended from. Dashed arrows point from a module or program unit to
modules which it uses.
Volume solver routine for residual Helmholtz models.
Solves volume roots using newton method. Given pressure and
temperature.
Description
This subroutine solves the volume using a newton method. The variable
root_type is used to specify the desired root to solve. The options
are: ["liquid", "vapor", "stable"]
The liquid search starts from get_v0 and the vapor search from
; the stable root is the one with lower residual Gibbs
energy. V is set to -1 if the last Newton solve failed.
Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.
Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.