|
OutputExtractor.hpp
Go to the documentation of this file.
Defines a type tags and some fundamental properties all models. Declare the properties used by the infrastructure code of the finite volume discretizations. Defines the common properties required by the porous medium multi-phase models. Definition: elasticitylocalresidualtpsa.hpp:46 typename Properties::Detail::GetPropImpl< TypeTag, Property >::type::type GetPropType get the type alias defined in the property (equivalent to old macro GET_PROP_TYPE(.... Definition: propertysystem.hh:233 The Opm property system, traits with inheritance. Context passed to element extractor functions. Definition: OutputExtractor.hpp:208 const FluidState & fs Fluid state for cell. Definition: OutputExtractor.hpp:211 const ElementContext & elemCtx Definition: OutputExtractor.hpp:213 const IntensiveQuantities & intQuants Intensive quantities for cell. Definition: OutputExtractor.hpp:212 unsigned globalDofIdx Global degree-of-freedom index. Definition: OutputExtractor.hpp:209 Descriptor for extractor execution. Definition: OutputExtractor.hpp:266 double * data Where to store output data. Definition: OutputExtractor.hpp:272 ScalarFunc extract Extraction function to call. Definition: OutputExtractor.hpp:273 Exec(double *d, ScalarFunc &&e) Move constructor. Definition: OutputExtractor.hpp:268 Definition: OutputExtractor.hpp:237 PhaseFunc extract Associated extraction lambda. Definition: OutputExtractor.hpp:243 std::variant< std::array< std::string_view, numPhases >, std::array< std::array< std::string_view, numPhases >, 2 > > kw One or two lists of names for the keyword for each phase. Definition: OutputExtractor.hpp:240 Definition: OutputExtractor.hpp:228 std::variant< std::string_view, std::vector< std::string_view > > kw A single name or a list of names for the keyword. Definition: OutputExtractor.hpp:230 ScalarFunc extract Associated extraction lamda. Definition: OutputExtractor.hpp:233 Definition: OutputExtractor.hpp:251 TensorFunc extract Associated extraction lambda. Definition: OutputExtractor.hpp:258 Wrapping struct holding types used for block-level data extraction. Definition: OutputExtractor.hpp:195 std::variant< ScalarEntry, PhaseEntry, TensorEntry > Entry Descriptor for extractors. Definition: OutputExtractor.hpp:262 std::unordered_map< int, std::vector< Exec > > ExecMap A map of extraction executors, keyed by cartesian cell index. Definition: OutputExtractor.hpp:277 GetPropType< TypeTag, Properties::ElementContext > ElementContext Definition: OutputExtractor.hpp:196 typename IntensiveQuantities::FluidState FluidState Definition: OutputExtractor.hpp:199 static LgrExecMap setupLgrExecMap(std::map< std::tuple< std::string, int, int >, double > &lgrBlockData, const std::span< const Entry > handlers) Setup an LGR-cell extractor executor map. Definition: OutputExtractor.hpp:463 std::function< Scalar(const unsigned, const Context &)> PhaseFunc Definition: OutputExtractor.hpp:225 static ExecMap setupExecMap(std::map< std::pair< std::string, int >, double > &blockData, const std::span< const Entry > handlers) Setup an extractor executor map from a map of evaluations to perform. Definition: OutputExtractor.hpp:410 std::function< Scalar(const VoigtIndex, const Context &)> TensorFunc Definition: OutputExtractor.hpp:248 GetPropType< TypeTag, Properties::FluidSystem > FluidSystem Definition: OutputExtractor.hpp:200 static std::optional< ScalarFunc > makeExtractor(const std::string_view base_kw, const std::span< const Entry > handlers) Resolve a block-summary keyword to its bound extraction lambda. Definition: OutputExtractor.hpp:288 std::function< Scalar(const Context &)> ScalarFunc Definition: OutputExtractor.hpp:221 std::unordered_map< int, std::unordered_map< int, std::vector< Exec > > > LgrExecMap Definition: OutputExtractor.hpp:452 GetPropType< TypeTag, Properties::IntensiveQuantities > IntensiveQuantities Definition: OutputExtractor.hpp:197 GetPropType< TypeTag, Properties::Scalar > Scalar Definition: OutputExtractor.hpp:198 static void process(const std::vector< Exec > &blockExtractors, const Context &ectx) Process a list of block extractors. Definition: OutputExtractor.hpp:435 std::function< void(const Context &)> AssignFunc Callback for extractors handling their own assignements. Definition: OutputExtractor.hpp:217 Context passed to extractor functions. Definition: OutputExtractor.hpp:77 const HysteresisParams & hParams Hysteresis parameters for cell. Definition: OutputExtractor.hpp:83 const IntensiveQuantities & intQuants Intensive quantities for cell. Definition: OutputExtractor.hpp:82 unsigned globalDofIdx Global degree-of-freedom index. Definition: OutputExtractor.hpp:78 const FluidState & fs Fluid state for cell. Definition: OutputExtractor.hpp:81 int episodeIndex Current report step. Definition: OutputExtractor.hpp:80 unsigned pvtRegionIdx pvt region for dof Definition: OutputExtractor.hpp:79 bool condition Additional condition for enabling extractor. Definition: OutputExtractor.hpp:118 std::variant< AssignFunc, ScalarEntry, PhaseEntry > data Extractor. Definition: OutputExtractor.hpp:117 Struct holding hysteresis parameters. Definition: OutputExtractor.hpp:66 Scalar somin Min oil saturation. Definition: OutputExtractor.hpp:72 Scalar swmin Min water saturation. Definition: OutputExtractor.hpp:69 Scalar swmax Max water saturation. Definition: OutputExtractor.hpp:68 Scalar shmax Max something. Definition: OutputExtractor.hpp:71 Scalar sgmax Max gas saturation. Definition: OutputExtractor.hpp:70 Scalar somax Max oil saturation. Definition: OutputExtractor.hpp:67 A phase buffer extractor descriptor. Definition: OutputExtractor.hpp:109 PhaseArray * data Array of buffers to store data in. Definition: OutputExtractor.hpp:110 PhaseFunc extract Function to call for extraction. Definition: OutputExtractor.hpp:111 A scalar extractor descriptor. Definition: OutputExtractor.hpp:102 ScalarBuffer * data Buffer to store data in. Definition: OutputExtractor.hpp:103 ScalarFunc extract Function to call for extraction. Definition: OutputExtractor.hpp:104 Wrapping struct holding types used for element-level data extraction. Definition: OutputExtractor.hpp:57 std::array< ScalarBuffer, numPhases > PhaseArray An array of buffers, one for each phase. Definition: OutputExtractor.hpp:98 GetPropType< TypeTag, Properties::Scalar > Scalar Definition: OutputExtractor.hpp:59 std::vector< Scalar > ScalarBuffer A scalar buffer. Definition: OutputExtractor.hpp:97 std::function< void(const Context &)> AssignFunc Callback for extractors handling their own assignements. Definition: OutputExtractor.hpp:87 GetPropType< TypeTag, Properties::FluidSystem > FluidSystem Definition: OutputExtractor.hpp:61 std::function< Scalar(const unsigned, const Context &)> PhaseFunc Definition: OutputExtractor.hpp:95 GetPropType< TypeTag, Properties::IntensiveQuantities > IntensiveQuantities Definition: OutputExtractor.hpp:58 std::function< Scalar(const Context &)> ScalarFunc Definition: OutputExtractor.hpp:91 static void process(const Context &ectx, const std::vector< Entry > &extractors) Process the given extractor entries. Definition: OutputExtractor.hpp:160 typename IntensiveQuantities::FluidState FluidState Definition: OutputExtractor.hpp:60 static std::vector< Entry > removeInactive(std::array< Entry, size > &input) Obtain vector of active extractors from an array of extractors. Definition: OutputExtractor.hpp:123 |