Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates to support PALEOaqchem generic chemistry #115

Merged
merged 1 commit into from
Mar 18, 2024
Merged

Conversation

sjdaines
Copy link
Member

  • New VariableFunction VF_StateTotal to distinguish state variables associated with Total variables from state variables associated with Constraint variables (which continue to use VariableFunction VF_State). See PALEOmodel SolverView documentation for rationale.

  • Update StandardAttributes list (add :totalnames, :rate_processname, :rate_species, :rate_stoichiometry, :diffusivity, :charge, remove :totalname). Add 'standard_attribute_type' function to simplify netcdf output/input.

  • ReactionReservoir remove 'stateexplicit' parameter. Use new PALEOaqchem ReactionConstraintReservoir, ReactionImplicitReservoir instead.

  • Remove ReactionReservoirConc, ReactionReservoirConcTotal names. This is a fix for possible name clash with work-in-progress atm chem configs, can still use ReactionReservoir, ReactionReservoirTotal with parameter 'state_conc = true'.

- New VariableFunction VF_StateTotal to distinguish state variables
  associated with Total variables from VariableFunction VF_State which is
  now only used for state variables associated with Constraint variables.
  See PALEOmodel SolverView documentation for rationale.

- Update StandardAttributes list (add :totalnames, :rate_processname, :rate_species,
  :rate_stoichiometry, :diffusivity, :charge, remove :totalname)
  Add 'standard_attribute_type' function to simplify netcdf output/input.

- ReactionReservoir remove 'stateexplicit' parameter.
  Use new PALEOaqchem ReactionConstraintReservoir, ReactionImplicitReservoir
  instead for DAE constraint on implicit variables.

- Remove ReactionReservoirConc, ReactionReservoirConcTotal names.
  This is a fix for possible name clash with work-in-progress atm chem configs,
  can still use ReactionReservoir, ReactionReservoirTotal with
  parameter 'state_conc = true'.
@sjdaines sjdaines merged commit 94e4edb into main Mar 18, 2024
3 checks passed
@sjdaines sjdaines deleted the aqchem_updates branch November 29, 2024 06:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant