Skip to content

Commit

Permalink
fix: format
Browse files Browse the repository at this point in the history
  • Loading branch information
Curve committed May 23, 2024
1 parent 7ee1aa0 commit 8280ddd
Show file tree
Hide file tree
Showing 7 changed files with 8 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 @@ -272,7 +272,7 @@ template <class T, int D> class lsBooleanOperation {
lsBooleanOperationEnum passedOperation =
lsBooleanOperationEnum::INTERSECT)
: levelSetA(passedlsDomainA), levelSetB(passedlsDomainB),
operation(passedOperation){};
operation(passedOperation) {};

/// Set which level set to perform the boolean operation on.
void setLevelSet(lsSmartPointer<lsDomain<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 @@ -21,7 +21,7 @@ class lsFiniteDifferences {
template <class V> static V square(V x) { return x * x; }

public:
lsFiniteDifferences(){};
lsFiniteDifferences() {};

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 @@ -18,7 +18,7 @@ template <class T, int D> class lsFromMesh {
bool sortPointList = true;

public:
lsFromMesh(){};
lsFromMesh() {};

lsFromMesh(lsSmartPointer<lsDomain<T, D>> passedLevelSet,
const lsSmartPointer<lsMesh<T>> passedMesh)
Expand Down
2 changes: 1 addition & 1 deletion include/viennals/lsGeometricAdvect.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ template <class T, int D> class lsGeometricAdvect {
}
}
} // domainBounds for
} // parallel region
} // parallel region

// copy all points into the first vector
{
Expand Down
2 changes: 1 addition & 1 deletion include/viennals/lsPrune.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ template <class T, int D> class lsPrune {
lsPrune() {}

lsPrune(lsSmartPointer<lsDomain<T, D>> passedlsDomain)
: levelSet(passedlsDomain){};
: levelSet(passedlsDomain) {};

void setLevelSet(lsSmartPointer<lsDomain<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 @@ -21,12 +21,12 @@ template <class T, int D> class lsReduce {
lsReduce() {}

lsReduce(lsSmartPointer<lsDomain<T, D>> passedlsDomain)
: levelSet(passedlsDomain){};
: levelSet(passedlsDomain) {};

lsReduce(lsSmartPointer<lsDomain<T, D>> passedlsDomain, int passedWidth,
bool passedNoNewSegment = false)
: levelSet(passedlsDomain), width(passedWidth),
noNewSegment(passedNoNewSegment){};
noNewSegment(passedNoNewSegment) {};

void setLevelSet(lsSmartPointer<lsDomain<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 @@ -23,7 +23,7 @@ template <class T, int D> class lsToMesh {
static constexpr long long maxDomainExtent = 1e6;

public:
lsToMesh(){};
lsToMesh() {};

lsToMesh(const lsSmartPointer<lsDomain<T, D>> passedLevelSet,
lsSmartPointer<lsMesh<T>> passedMesh, bool passedOnlyDefined = true,
Expand Down

0 comments on commit 8280ddd

Please sign in to comment.