mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Implement (empty) virtual destructor, make methods public.
This commit is contained in:
parent
5288b84bdc
commit
dc7385204a
@ -26,6 +26,12 @@ namespace Opm
|
|||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
|
/// Virtual destructor.
|
||||||
|
DGBasisInterface::~DGBasisInterface()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// ---------------- Methods for class DGBasisBoundedTotalDegree ----------------
|
// ---------------- Methods for class DGBasisBoundedTotalDegree ----------------
|
||||||
|
|
||||||
|
|
||||||
|
@ -30,7 +30,7 @@ namespace Opm
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
/// Virtual destructor.
|
/// Virtual destructor.
|
||||||
virtual ~DGBasisInterface() = 0;
|
virtual ~DGBasisInterface();
|
||||||
|
|
||||||
/// The number of basis functions per cell.
|
/// The number of basis functions per cell.
|
||||||
virtual int numBasisFunc() const = 0;
|
virtual int numBasisFunc() const = 0;
|
||||||
@ -164,6 +164,7 @@ namespace Opm
|
|||||||
/// Similar for (y-), (y+).
|
/// Similar for (y-), (y+).
|
||||||
class DGBasisMultilin : public DGBasisInterface
|
class DGBasisMultilin : public DGBasisInterface
|
||||||
{
|
{
|
||||||
|
public:
|
||||||
/// Constructor.
|
/// Constructor.
|
||||||
/// \param[in] grid grid on which basis is used (cell-wise)
|
/// \param[in] grid grid on which basis is used (cell-wise)
|
||||||
/// \param[in] degree polynomial degree of basis (in each coordinate)
|
/// \param[in] degree polynomial degree of basis (in each coordinate)
|
||||||
|
Loading…
Reference in New Issue
Block a user