///////////////////////////////////////////////////////////////////////////////// // // Copyright (C) 2020 Equinor ASA // // ResInsight is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // ResInsight is distributed in the hope that it will be useful, but WITHOUT ANY // WARRANTY; without even the implied warranty of MERCHANTABILITY or // FITNESS FOR A PARTICULAR PURPOSE. // // See the GNU General Public License at // for more details. // ///////////////////////////////////////////////////////////////////////////////// #pragma once #include "RiaStimPlanModelDefines.h" #include #include //-------------------------------------------------------------------------------------------------- /// //-------------------------------------------------------------------------------------------------- class RigElasticProperties { public: RigElasticProperties( const QString& fieldName, const QString& formationName, const QString& faciesName ); const QString& fieldName() const; const QString& formationName() const; const QString& faciesName() const; void appendValues( double porosity, double youngsModulus, double poissonsRatio, double m_K_Ic, double proppantEmbedment, double biotCoefficient, double k0, double fluidLossCoefficient, double spurtLoss, double immobileFluidSaturation ); size_t numValues() const; double getValue( RiaDefines::CurveProperty property, size_t index, double scale = 1.0 ) const; std::pair getValueForPorosity( RiaDefines::CurveProperty property, double porosity, double scale = 1.0 ) const; const std::vector& porosity() const; double porosityMin() const; double porosityMax() const; private: const std::vector& getVector( RiaDefines::CurveProperty property ) const; QString m_fieldName; QString m_formationName; QString m_faciesName; std::vector m_porosity; std::vector m_youngsModulus; std::vector m_poissonsRatio; std::vector m_K_Ic; std::vector m_proppantEmbedment; std::vector m_biotCoefficient; std::vector m_k0; std::vector m_fluidLossCoefficient; std::vector m_spurtLoss; std::vector m_immobileFluidSaturation; };