opm-common
Loading...
Searching...
No Matches
Opm::WellFractureSeeds::SeedSize Class Reference

Vertical extent, horizontal extent, and width of initial fracture at a seed point. More...

#include <WellFractureSeeds.hpp>

Public Member Functions

 SeedSize ()=default
 Default constructor.
 SeedSize (const double ev, const double eh, const double wd)
 Constructor.
 SeedSize (const SeedSize &rhs)=default
 Copy constructor.
 SeedSize (SeedSize &&rhs)=default
 Move constructor.
SeedSizeoperator= (const SeedSize &rhs)=default
 Assignment operator.
SeedSizeoperator= (SeedSize &&rhs)=default
 Move assignment operator.
bool operator== (const SeedSize &that) const
 Equality predicate.
bool operator!= (const SeedSize &that) const
 Inequality predicate.
SeedSizehorizontalExtent (const double eh)
 Assign horizontal extent.
SeedSizeverticalExtent (const double ev)
 Assign vertical extent.
SeedSizewidth (const double wd)
 Assign initial fracture width.
auto horizontalExtent () const
 Seed's horizontal extent.
auto verticalExtent () const
 Seed's vertical extent.
auto width () const
 Seed's initial fracture width.
template<class Serializer>
void serializeOp (Serializer &serializer)
 Convert between byte array and object representation.

Static Public Member Functions

static SeedSize serializationTestObject ()
 Create a serialisation test object.

Detailed Description

Vertical extent, horizontal extent, and width of initial fracture at a seed point.

Constructor & Destructor Documentation

◆ SeedSize()

Opm::WellFractureSeeds::SeedSize::SeedSize ( const double ev,
const double eh,
const double wd )
inlineexplicit

Constructor.

Mostly for the benefit of unit tests.

Parameters
[in]evVertical extent.
[in]ehHorizontal extent.
[in]wdInitial fracture width.

Member Function Documentation

◆ horizontalExtent()

SeedSize & Opm::WellFractureSeeds::SeedSize::horizontalExtent ( const double eh)
inline

Assign horizontal extent.

Supports chained initialisation.

Parameters
[in]ehNew horizontal extent.
Returns
.

◆ operator!=()

bool Opm::WellFractureSeeds::SeedSize::operator!= ( const SeedSize & that) const
inline

Inequality predicate.

Parameters
[in]thatObject against which
will be tested for inequality.
Returns
Whether or not
is different from that.

◆ operator==()

bool Opm::WellFractureSeeds::SeedSize::operator== ( const SeedSize & that) const
inline

Equality predicate.

Parameters
[in]thatObject against which
will be tested for equality.
Returns
Whether or not
is the same as that.

◆ serializeOp()

template<class Serializer>
void Opm::WellFractureSeeds::SeedSize::serializeOp ( Serializer & serializer)
inline

Convert between byte array and object representation.

Template Parameters
SerializerByte array conversion protocol.
Parameters
[in,out]serializerByte array conversion object.

◆ verticalExtent()

SeedSize & Opm::WellFractureSeeds::SeedSize::verticalExtent ( const double ev)
inline

Assign vertical extent.

Supports chained initialisation.

Parameters
[in]evNew vertical extent.
Returns
.

◆ width()

SeedSize & Opm::WellFractureSeeds::SeedSize::width ( const double wd)
inline

Assign initial fracture width.

Supports chained initialisation.

Parameters
[in]wdNew initial fracture width.
Returns
.

The documentation for this class was generated from the following files:
  • opm/input/eclipse/Schedule/Well/WellFractureSeeds.hpp
  • opm/input/eclipse/Schedule/Well/WellFractureSeeds.cpp