|
OpenImpala
Image-based parallel transport property solver
|
Shared solver configuration helpers: string-to-enum conversion for solver types and flow directions. More...
Go to the source code of this file.
Namespaces | |
| namespace | OpenImpala |
Functions | |
| SolverType | OpenImpala::effDiffSolverType (const std::string &solver_str) |
| Backward-compatible alias for parseSolverType(). | |
| Direction | OpenImpala::parseDirection (const std::string &dir_str) |
| Convert a case-insensitive direction string to Direction enum. | |
| SolverType | OpenImpala::parseSolverType (const std::string &solver_str) |
| Convert a case-insensitive solver name to SolverType. | |
| SolverType | OpenImpala::tortuositySolverType (const std::string &solver_str) |
| Backward-compatible alias for parseSolverType(). | |
Shared solver configuration helpers: string-to-enum conversion for solver types and flow directions.
Eliminates the duplicated stringToSolverType() and stringToDirection() helper functions that were previously copy-pasted across Diffusion.cpp, tMultiPhaseTransport.cpp, tEffectiveDiffusivity.cpp, tTortuosity.cpp, and tTortuosityDirect.cpp.