particula.execution._gpu_gas_forcing
Selective gas forcing without returning evolving gas state to the host.
Attributes
| Name | Description |
|---|---|
_R | No description. |
Functions
| Name | Description |
|---|---|
_commit_targets | Overwrite only the explicitly prescribed species. |
_evaluate_targets | Convert prescribed ratios to kg/m3 using device temperature. |
apply_species_forcing | Validate all named targets before changing any physical state. |
_Rattributemodule attribute#
_R = wp.constant(wp.float64(GAS_CONSTANT))_commit_targetsfunction#
def _commit_targets(values: FloatMatrix, columns: IntVector, gas: FloatMatrix)Overwrite only the explicitly prescribed species.
_evaluate_targetsfunction#
def _evaluate_targets(values: FloatMatrix, columns: IntVector, modes: IntVector, pressures: FloatVector, molar_mass: FloatVector, temperature: FloatVector, invalid: IntVector)Convert prescribed ratios to kg/m3 using device temperature.
apply_species_forcingfunction#
def apply_species_forcing(owner, vapor, concentrations, saturation_ratios)Validate all named targets before changing any physical state.