Skip to content

Commit 3830ac1

Browse files
authored
Merge pull request #4312 from pbehne/variational_smoother_cleanup
VariationalMeshSmoother cleanup
2 parents 1703407 + 0f2b832 commit 3830ac1

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

include/mesh/mesh_smoother_vsmoother.h

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -122,14 +122,7 @@ class VariationalMeshSmoother : public MeshSmoother
122122
* function in this class which takes an int, using
123123
* a default value of 1.
124124
*/
125-
virtual void smooth() override {this->smooth(1); }
126-
127-
/**
128-
* The actual smoothing function, gets called whenever
129-
* the user specifies an actual number of smoothing
130-
* iterations.
131-
*/
132-
void smooth(unsigned int n_iterations);
125+
virtual void smooth() override;
133126

134127
/**
135128
* Getter for the _system's _mesh_info attribute

src/mesh/mesh_smoother_vsmoother.C

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ void VariationalMeshSmoother::setup()
135135
_setup_called = true;
136136
}
137137

138-
void VariationalMeshSmoother::smooth(unsigned int)
138+
void VariationalMeshSmoother::smooth()
139139
{
140140
if (!_setup_called)
141141
setup();

0 commit comments

Comments
 (0)