Skip to content

Commit 6da381c

Browse files
committed
volunstructured: avoid duplicating base class functions
1 parent c514002 commit 6da381c

File tree

2 files changed

+1
-15
lines changed

2 files changed

+1
-15
lines changed

src/volunstructured/volunstructured.cpp

-14
Original file line numberDiff line numberDiff line change
@@ -135,20 +135,6 @@ std::unique_ptr<PatchKernel> VolUnstructured::clone() const
135135
return std::unique_ptr<VolUnstructured>(new VolUnstructured(*this));
136136
}
137137

138-
/*!
139-
* Enables or disables expert mode.
140-
*
141-
* When expert mode is enabled, it will be possible to change the
142-
* patch using low level functions (e.g., it will be possible to
143-
* add individual cells, add vertices, delete cells, ...).
144-
*
145-
* \param expert if true, the expert mode will be enabled
146-
*/
147-
void VolUnstructured::setExpert(bool expert)
148-
{
149-
VolumeKernel::setExpert(expert);
150-
}
151-
152138
/*!
153139
Evaluates the volume of the specified cell.
154140

src/volunstructured/volunstructured.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ class VolUnstructured : public VolumeKernel {
5050

5151
std::unique_ptr<PatchKernel> clone() const override;
5252

53-
void setExpert(bool expert);
53+
using VolumeKernel::setExpert;
5454

5555
double evalCellVolume(long id) const override;
5656
double evalCellSize(long id) const override;

0 commit comments

Comments
 (0)