Go to the source code of this file.
Functions | |
TEST (GeochemicalSolverTest, exception) | |
Check exception. More... | |
TEST (GeochemicalSolverTest, setgetMaxInitialResidual) | |
Check set/getMaxInitialResidual. More... | |
TEST (GeochemicalSolverTest, solve1) | |
Solve super-simple case. More... | |
TEST (GeochemicalSolverTest, solve2) | |
Solve realistic case with minerals and gases, but no precipitation, no redox, no sorption. More... | |
TEST (GeochemicalSolverTest, solve3) | |
Solve realistic case with minerals that precipitate, no redox, no sorption. More... | |
TEST (GeochemicalSolverTest, solve3_restore) | |
Solve realistic case with minerals that precipitate, no redox, no sorption, and then "restore" to check it works correctly, and then check copy-assignment of GeochemicalSystem works properly. More... | |
TEST (GeochemicalSolverTest, solve4) | |
Solve realistic case with redox disequilibrium, no minerals, no sorption. More... | |
TEST (GeochemicalSolverTest, solve4_restore) | |
Solve realistic case with redox disequilibrium, no minerals, no sorption, then "restore" the solution and check. More... | |
TEST (GeochemicalSolverTest, solve5) | |
Solve realistic case with sorption and minerals, no redox. More... | |
TEST (GeochemicalSolverTest, solve5_restore) | |
Repeat the realistic case with sorption and minerals, no redox, this time with a "restore", and then use the copy assignment operator of GeochemicalSystem to create a new geochemical system. More... | |
TEST (GeochemicalSolverTest, solve_addH) | |
Test progressively adding H+ to a system. More... | |
TEST (GeochemicalSolverTest, maxSwapsException) | |
Test that the max swaps allowed works OK. More... | |
TEST (GeochemicalSolverTest, setRampMaxIonicStrength) | |
Check setRampMaxIonicStrength. More... | |
TEST (GeochemicalSolverTest, solve_kinetic1) | |
Solve case that involves kinetic species with zero rates (so kinetic species should have no impact except to modify the bulk composition) More... | |
TEST (GeochemicalSolverTest, solve_kinetic2) | |
Solve case that involves kinetic species with constant rates. More... | |
TEST (GeochemicalSolverTest, solve_kinetic3) | |
Solve case that involves kinetic species with promoting indices and implicit solve. More... | |
Variables | |
const GeochemicalDatabaseReader | db_solver ("database/moose_testdb.json", true, true, false) |
const GeochemicalDatabaseReader | db_full ("../database/moose_geochemdb.json", true, true, false) |
const GeochemicalDatabaseReader | db_ferric ("../test/database/ferric_hydroxide_sorption.json", true, true) |
const PertinentGeochemicalSystem | model_simplest (db_solver, {"H2O", "H+"}, {}, {}, {}, {}, {}, "O2(aq)", "e-") |
GeochemistrySpeciesSwapper | swapper2 (2, 1E-6) |
GeochemistrySpeciesSwapper | swapper_kin (4, 1E-6) |
const std::vector< GeochemicalSystem::ConstraintUserMeaningEnum > | cm2 |
const std::vector< GeochemistryUnitConverter::GeochemistryUnit > | cu2 |
const std::vector< GeochemicalSystem::ConstraintUserMeaningEnum > | cm4 |
const std::vector< GeochemistryUnitConverter::GeochemistryUnit > | cu4 |
GeochemistryIonicStrength | is_solver (3.0, 3.0, false, false) |
GeochemistryActivityCoefficientsDebyeHuckel | ac_solver (is_solver, db_solver) |
TEST | ( | GeochemicalSolverTest | , |
exception | |||
) |
Check exception.
Definition at line 44 of file GeochemicalSolverTest.C.
TEST | ( | GeochemicalSolverTest | , |
setgetMaxInitialResidual | |||
) |
Check set/getMaxInitialResidual.
Definition at line 240 of file GeochemicalSolverTest.C.
TEST | ( | GeochemicalSolverTest | , |
solve1 | |||
) |
Solve super-simple case.
Definition at line 279 of file GeochemicalSolverTest.C.
TEST | ( | GeochemicalSolverTest | , |
solve2 | |||
) |
Solve realistic case with minerals and gases, but no precipitation, no redox, no sorption.
Definition at line 346 of file GeochemicalSolverTest.C.
TEST | ( | GeochemicalSolverTest | , |
solve3 | |||
) |
Solve realistic case with minerals that precipitate, no redox, no sorption.
Definition at line 649 of file GeochemicalSolverTest.C.
TEST | ( | GeochemicalSolverTest | , |
solve3_restore | |||
) |
Solve realistic case with minerals that precipitate, no redox, no sorption, and then "restore" to check it works correctly, and then check copy-assignment of GeochemicalSystem works properly.
Definition at line 962 of file GeochemicalSolverTest.C.
TEST | ( | GeochemicalSolverTest | , |
solve4 | |||
) |
Solve realistic case with redox disequilibrium, no minerals, no sorption.
Definition at line 1171 of file GeochemicalSolverTest.C.
TEST | ( | GeochemicalSolverTest | , |
solve4_restore | |||
) |
Solve realistic case with redox disequilibrium, no minerals, no sorption, then "restore" the solution and check.
Definition at line 1513 of file GeochemicalSolverTest.C.
TEST | ( | GeochemicalSolverTest | , |
solve5 | |||
) |
Solve realistic case with sorption and minerals, no redox.
Definition at line 1692 of file GeochemicalSolverTest.C.
TEST | ( | GeochemicalSolverTest | , |
solve5_restore | |||
) |
Repeat the realistic case with sorption and minerals, no redox, this time with a "restore", and then use the copy assignment operator of GeochemicalSystem to create a new geochemical system.
Definition at line 1964 of file GeochemicalSolverTest.C.
TEST | ( | GeochemicalSolverTest | , |
solve_addH | |||
) |
Test progressively adding H+ to a system.
Definition at line 2127 of file GeochemicalSolverTest.C.
TEST | ( | GeochemicalSolverTest | , |
maxSwapsException | |||
) |
Test that the max swaps allowed works OK.
Definition at line 2218 of file GeochemicalSolverTest.C.
TEST | ( | GeochemicalSolverTest | , |
setRampMaxIonicStrength | |||
) |
Check setRampMaxIonicStrength.
Definition at line 2337 of file GeochemicalSolverTest.C.
TEST | ( | GeochemicalSolverTest | , |
solve_kinetic1 | |||
) |
Solve case that involves kinetic species with zero rates (so kinetic species should have no impact except to modify the bulk composition)
Definition at line 2389 of file GeochemicalSolverTest.C.
TEST | ( | GeochemicalSolverTest | , |
solve_kinetic2 | |||
) |
Solve case that involves kinetic species with constant rates.
Definition at line 2562 of file GeochemicalSolverTest.C.
TEST | ( | GeochemicalSolverTest | , |
solve_kinetic3 | |||
) |
Solve case that involves kinetic species with promoting indices and implicit solve.
Definition at line 2797 of file GeochemicalSolverTest.C.
Referenced by TEST().
const std::vector<GeochemicalSystem::ConstraintUserMeaningEnum> cm2 |
Definition at line 24 of file GeochemicalSolverTest.C.
const std::vector<GeochemicalSystem::ConstraintUserMeaningEnum> cm4 |
const std::vector<GeochemistryUnitConverter::GeochemistryUnit> cu2 |
Definition at line 27 of file GeochemicalSolverTest.C.
const std::vector<GeochemistryUnitConverter::GeochemistryUnit> cu4 |
const GeochemicalDatabaseReader db_ferric("../test/database/ferric_hydroxide_sorption.json", true, true) |
Referenced by TEST().
const GeochemicalDatabaseReader db_full("../database/moose_geochemdb.json", true, true, false) |
Referenced by TEST().
const GeochemicalDatabaseReader db_solver("database/moose_testdb.json", true, true, false) |
Referenced by TEST().
GeochemistryIonicStrength is_solver(3.0, 3.0, false, false) |
Referenced by TEST().
const PertinentGeochemicalSystem model_simplest(db_solver, {"H2O", "H+"}, {}, {}, {}, {}, {}, "O2(aq)", "e-") |
Referenced by TEST().
GeochemistrySpeciesSwapper swapper2(2, 1E-6) |
Referenced by TEST().
GeochemistrySpeciesSwapper swapper_kin(4, 1E-6) |
Referenced by TEST().