aragog.interfaces
interfaces
Interfaces
FloatOrArray = float | npt.NDArray
module-attribute
logger = logging.getLogger(__name__)
module-attribute
MixedPhaseEvaluatorProtocol
PhaseEvaluatorABC
Bases: ABC
Phase evaluator ABC
dTdPs()
TODO: Update reference to sphinx: Solomatov (2007), Treatise on Geophysics, Eq. 3.2
Source code in aragog/interfaces.py
107 108 109 110 111 112 113 | |
set_pressure(pressure)
Sets the pressure.
Source code in aragog/interfaces.py
96 97 98 99 | |
set_temperature(temperature)
Sets the temperature.
Source code in aragog/interfaces.py
91 92 93 94 | |
update()
Updates quantities to avoid repeat, possibly expensive, calculations.
Source code in aragog/interfaces.py
101 102 | |