changing FlowNewtonMethod to be FlowExpNewtonMethod

as requested by reviewer.
This commit is contained in:
Kai Bao 2024-04-23 09:16:14 +02:00
parent 729be2c658
commit cd14204727
3 changed files with 7 additions and 7 deletions

View File

@ -23,10 +23,10 @@
/*!
* \file
*
* \copydoc Opm::FlowNewtonMethod
* \copydoc Opm::FlowExpNewtonMethod
*/
#ifndef OPM_FLOW_NEWTON_METHOD_HPP
#define OPM_FLOW_NEWTON_METHOD_HPP
#ifndef OPM_FLOW_EXP_NEWTON_METHOD_HPP
#define OPM_FLOW_EXP_NEWTON_METHOD_HPP
#include <opm/common/Exceptions.hpp>
#include <opm/common/OpmLog/OpmLog.hpp>
@ -65,7 +65,7 @@ namespace Opm {
* \brief A newton solver.
*/
template <class TypeTag>
class FlowNewtonMethod : public BlackOilNewtonMethod<TypeTag>
class FlowExpNewtonMethod : public BlackOilNewtonMethod<TypeTag>
{
using ParentType = BlackOilNewtonMethod<TypeTag>;
using DiscNewtonMethod = GetPropType<TypeTag, Properties::DiscNewtonMethod>;
@ -92,7 +92,7 @@ class FlowNewtonMethod : public BlackOilNewtonMethod<TypeTag>
friend ParentType;
public:
explicit FlowNewtonMethod(Simulator& simulator) : ParentType(simulator)
explicit FlowExpNewtonMethod(Simulator& simulator) : ParentType(simulator)
{
errorPvFraction_ = 1.0;
relaxedMaxPvFraction_ = Parameters::get<TypeTag, Properties::EclNewtonRelaxedVolumeFraction>();

View File

@ -74,7 +74,7 @@ struct WellModel<TypeTag, TTag::FlowExpTypeTag> {
template<class TypeTag>
struct NewtonMethod<TypeTag, TTag::FlowExpTypeTag> {
using type = FlowNewtonMethod<TypeTag>;
using type = FlowExpNewtonMethod<TypeTag>;
};
// currently, flowexp uses the non-multisegment well model by default to avoid

View File

@ -17,7 +17,7 @@
along with OPM. If not, see <http://www.gnu.org/licenses/>.
*/
#include "config.h"
#include "flownewtonmethod.hpp"
#include "FlowExpNewtonMethod.hpp"
#include "flowexp.hpp"
#include <opm/models/discretization/common/tpfalinearizer.hh>