Skip to content

Commit 5fe1bcc

Browse files
committed
fix: remove concepts without macro
1 parent 0908766 commit 5fe1bcc

5 files changed

Lines changed: 6 additions & 6 deletions

File tree

include/viennaps/psCreateSurfaceMesh.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ inline void CopyTriangleMesh(const float gridDelta,
4242
triangleMesh.normals = *mesh->getCellData().getVectorData("Normals");
4343
}
4444

45-
template <Numeric LsNT, Numeric MeshNT, int D> class CreateSurfaceMesh {
45+
template <class LsNT, class MeshNT, int D> class CreateSurfaceMesh {
4646

4747
using lsDomainType = viennals::Domain<LsNT, D>;
4848
using CellIteratorType = viennahrle::ConstSparseCellIterator<

include/viennaps/psElementToPointData.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ namespace viennaps {
1515

1616
using namespace viennacore;
1717

18-
template <Numeric NumericType, Numeric MeshNT, Numeric ResultType,
19-
bool d2 = true, bool d4 = true>
18+
template <class classType, class MeshNT, class ResultType, bool d2 = true,
19+
bool d4 = true>
2020
class ElementToPointData {
2121
const std::vector<std::string> dataLabels_;
2222
SmartPointer<viennals::PointData<NumericType>> pointData_;

include/viennaps/psExtrude.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
namespace viennaps {
1010
using namespace viennacore;
1111

12-
template <Numeric NumericType> class Extrude {
12+
template <class NumericType> class Extrude {
1313
SmartPointer<Domain<NumericType, 2>> inputDomain;
1414
SmartPointer<Domain<NumericType, 3>> outputDomain;
1515
Vec2D<NumericType> extent{NumericType(0)};

include/viennaps/psPointToElementData.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ namespace viennaps {
1515

1616
using namespace viennacore;
1717

18-
template <Numeric NumericType, Numeric MeshNT = NumericType>
18+
template <class NumericType, class MeshNT = NumericType>
1919
class PointToElementDataBase {
2020
protected:
2121
viennals::PointData<NumericType> &pointData_;

include/viennaps/psSlice.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
namespace viennaps {
1010
using namespace viennacore;
1111

12-
template <Numeric NumericType> class Slice {
12+
template <class NumericType> class Slice {
1313
SmartPointer<Domain<NumericType, 3>> inputDomain;
1414
SmartPointer<Domain<NumericType, 2>> outputDomain;
1515
int sliceDimension = 0;

0 commit comments

Comments
 (0)