Opm::HybridNewtonConfig Class Reference Configuration for a Hybrid Newton ML model. More...
Detailed DescriptionConfiguration for a Hybrid Newton ML model. Encapsulates model path, cell indices, apply times, input/output features, and validation. Can be constructed from a PropertyTree. Constructor & Destructor Documentation◆ HybridNewtonConfig() [1/2]
◆ HybridNewtonConfig() [2/2]
Construct configuration from a PropertyTree. Loads model path, cell indices, apply times, and features from the provided PropertyTree. Throws on missing or invalid entries. References apply_times, cell_indices, cell_indices_file, Opm::PropertyTree::get(), Opm::PropertyTree::get_child_optional(), input_features, model_path, n_cells, and output_features. Member Function Documentation◆ hasInputFeature()
References input_features. Referenced by validateConfig(). ◆ hasOutputFeature()
References output_features. Referenced by validateConfig(). ◆ validateConfig()
Validate feature compatibility with simulator settings. Ensures RS/RV features are only used if composition support is enabled. Throws std::runtime_error otherwise. References hasInputFeature(), and hasOutputFeature(). Referenced by Opm::BlackOilHybridNewton< TypeTag >::tryApplyHybridNewton(). Member Data Documentation◆ apply_times
Referenced by HybridNewtonConfig(), and Opm::BlackOilHybridNewton< TypeTag >::shouldApplyHybridNewton(). ◆ cell_indices
◆ cell_indices_file
Referenced by HybridNewtonConfig(). ◆ input_features
◆ model_path
Referenced by Opm::BlackOilHybridNewton< TypeTag >::constructOutputTensor(), and HybridNewtonConfig(). ◆ n_cells
◆ output_features
The documentation for this class was generated from the following file: |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||