Opm::PropertyTree Class Reference Hierarchical collection of key/value pairs. More...
Detailed DescriptionHierarchical collection of key/value pairs. Constructor & Destructor Documentation◆ PropertyTree() [1/4]
Default constructor. Should typically be populated in put() before use. ◆ PropertyTree() [2/4]
Constructor Loads a property tree from an external source expected to be a text file in JSON.
◆ PropertyTree() [3/4]
Copy constructor.
◆ ~PropertyTree()
Destructor. ◆ PropertyTree() [4/4]
Converting constructor. Forms a property tree object from a Boost ptree.
Member Function Documentation◆ get() [1/2]
template<class T >
Retrieve property value given hierarchical property key.
Referenced by Opm::StandardPreconditioners< Operator, Dune::Amg::SequentialInformation, typename std::enable_if_t< Opm::is_gpu_operator_v< Operator > > >::add(), Amgx::AmgxConfig::AmgxConfig(), Amgx::AmgxPreconditioner< M, X, Y >::AmgxPreconditioner(), Opm::AMGSmootherArgsHelper< Smoother >::args(), Opm::AMGSmootherArgsHelper< ParallelOverlappingILU0< M, V, V, C > >::args(), Opm::PressureBhpTransferPolicy< FineOperator, Communication, Scalar, transpose >::calculateCoarseEntries(), Opm::PressureBhpTransferPolicy< FineOperator, Communication, Scalar, transpose >::createCoarseLevelSystem(), Opm::StandardPreconditioners< Operator, Comm, typename >::createParILU(), Opm::AMGHelper< Operator, Comm, Matrix, Vector >::criterion(), Opm::ISTLSolver< TypeTag >::getWeightsCalculator(), Hypre::HyprePreconditioner< M, X, Y >::HyprePreconditioner(), Opm::AMGHelper< Operator, Comm, Matrix, Vector >::makeAmgPreconditioner(), and Dune::OwningTwoLevelPreconditioner< OperatorType, VectorType, LevelTransferPolicy, Communication >::OwningTwoLevelPreconditioner(). ◆ get() [2/2]
template<class T >
Retrieve property value given hierarchical property key.
◆ get_child()
Retrieve copy of sub tree rooted at node. Throws an exception if no sub tree exists at given root.
◆ get_child_items_as_vector()
template<typename T >
Retrieve node items as linearised vector. Assumes that the node's child is an array type of homongeneous elements.
◆ get_child_optional()
Retrieve copy of sub tree rooted at node.
◆ operator=()
Assignment operator
◆ put()
template<class T >
Insert key/value pair into property tree
Referenced by Opm::GenericTracerModel< Grid, GridView, DofMapper, Stencil, FluidSystem, Scalar >::linearSolve_(), and Opm::GenericTracerModel< Grid, GridView, DofMapper, Stencil, FluidSystem, Scalar >::linearSolveBatchwise_(). ◆ write_json()
Emit a textual representation of the property tree in JSON form
Referenced by Opm::detail::writeJsonToStream(). Member Data Documentation◆ tree_
Internal representation of the property tree. The documentation for this class was generated from the following file: |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||