///////////////////////////////////////////////////////////////////////////////// // // 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 #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 ); double getYoungsModulus( double porosity ) const; double getPoissonsRatio( double porosity ) const; double getK_Ic( double porosity ) const; double getProppantEmbedment( double porosity ) const; double getBiotCoefficient( double porosity ) const; double getK0( double porosity ) const; double getFluidLossCoefficient( double porosity ) const; double getSpurtLoss( double porosity ) const; double getImmobileFluidSaturation( double porosity ) const; const std::vector& porosity() const; const std::vector& youngsModulus() const; const std::vector& poissonsRatio() const; const std::vector& K_Ic() const; const std::vector& proppantEmbedment() const; const std::vector& biotCoefficient() const; const std::vector& k0() const; const std::vector& fluidLossCoefficient() const; const std::vector& spurtLoss() const; const std::vector& immobileFluidSaturation() const; private: 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; };