Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
tobre1 committed Jun 17, 2024
1 parent 4eb7a6b commit 46eaf70
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion include/viennals/lsBooleanOperation.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ template <class T, int D> class BooleanOperation {
SmartPointer<Domain<T, D>> passedlsDomainB,
BooleanOperationEnum passedOperation = BooleanOperationEnum::INTERSECT)
: levelSetA(passedlsDomainA), levelSetB(passedlsDomainB),
operation(passedOperation) {};
operation(passedOperation){};

/// Set which level set to perform the boolean operation on.
void setLevelSet(SmartPointer<Domain<T, D>> passedlsDomain) {
Expand Down
2 changes: 1 addition & 1 deletion include/viennals/lsFiniteDifferences.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class FiniteDifferences {
template <class V> static V square(V x) { return x * x; }

public:
FiniteDifferences() {};
FiniteDifferences(){};

static unsigned getNumberOfValues(DifferentiationSchemeEnum s) {
switch (s) {
Expand Down
2 changes: 1 addition & 1 deletion include/viennals/lsFromMesh.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ template <class T, int D> class FromMesh {
bool sortPointList = true;

public:
FromMesh() {};
FromMesh(){};

FromMesh(SmartPointer<Domain<T, D>> passedLevelSet,
const SmartPointer<Mesh<T>> passedMesh)
Expand Down
3 changes: 1 addition & 2 deletions include/viennals/lsPrune.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,7 @@ template <class T, int D> class Prune {
public:
Prune() {}

Prune(SmartPointer<Domain<T, D>> passedlsDomain)
: levelSet(passedlsDomain) {};
Prune(SmartPointer<Domain<T, D>> passedlsDomain) : levelSet(passedlsDomain){};

void setLevelSet(SmartPointer<Domain<T, D>> passedlsDomain) {
levelSet = passedlsDomain;
Expand Down
4 changes: 2 additions & 2 deletions include/viennals/lsReduce.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ template <class T, int D> class Reduce {
Reduce() {}

Reduce(SmartPointer<Domain<T, D>> passedlsDomain)
: levelSet(passedlsDomain) {};
: levelSet(passedlsDomain){};

Reduce(SmartPointer<Domain<T, D>> passedlsDomain, int passedWidth,
bool passedNoNewSegment = false)
: levelSet(passedlsDomain), width(passedWidth),
noNewSegment(passedNoNewSegment) {};
noNewSegment(passedNoNewSegment){};

void setLevelSet(SmartPointer<Domain<T, D>> passedlsDomain) {
levelSet = passedlsDomain;
Expand Down
2 changes: 1 addition & 1 deletion include/viennals/lsToMesh.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ template <class T, int D> class ToMesh {
static constexpr long long maxDomainExtent = 1e6;

public:
ToMesh() {};
ToMesh(){};

ToMesh(const SmartPointer<Domain<T, D>> passedLevelSet,
SmartPointer<Mesh<T>> passedMesh, bool passedOnlyDefined = true,
Expand Down

0 comments on commit 46eaf70

Please sign in to comment.