Skip to content

Commit

Permalink
Fix shared library build
Browse files Browse the repository at this point in the history
  • Loading branch information
tobre1 committed Jun 17, 2024
1 parent 46eaf70 commit 72fc613
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 31 deletions.
2 changes: 1 addition & 1 deletion include/viennals/lsGeometricAdvect.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ template <class T, int D> class GeometricAdvect {
}
}
} // domainBounds for
} // parallel region
} // parallel region

// copy all points into the first vector
{
Expand Down
64 changes: 34 additions & 30 deletions lib/specialisations.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,35 +27,39 @@
#include <lsWriteVisualizationMesh.hpp>
#include <lsWriter.hpp>

namespace viennals {

// now call the specialize macro to precompile them
PRECOMPILE_SPECIALIZE_PRECISION(lsPointData)
PRECOMPILE_SPECIALIZE_PRECISION(lsMesh)
PRECOMPILE_SPECIALIZE(lsAdvect)
PRECOMPILE_SPECIALIZE(lsBooleanOperation)
PRECOMPILE_SPECIALIZE(lsCalculateCurvatures)
PRECOMPILE_SPECIALIZE(lsCalculateNormalVectors)
PRECOMPILE_SPECIALIZE(lsCheck)
PRECOMPILE_SPECIALIZE(lsConvexHull)
PRECOMPILE_SPECIALIZE(lsDomain)
PRECOMPILE_SPECIALIZE(lsExpand)
PRECOMPILE_SPECIALIZE(lsGeometricAdvect)
PRECOMPILE_SPECIALIZE(lsDetectFeatures)
PRECOMPILE_SPECIALIZE(lsFromMesh)
PRECOMPILE_SPECIALIZE(lsFromSurfaceMesh)
PRECOMPILE_SPECIALIZE(lsFromVolumeMesh)
PRECOMPILE_SPECIALIZE(lsSphere)
PRECOMPILE_SPECIALIZE(lsPlane)
PRECOMPILE_SPECIALIZE(lsBox)
PRECOMPILE_SPECIALIZE(lsPointCloud)
PRECOMPILE_SPECIALIZE(lsMakeGeometry)
PRECOMPILE_SPECIALIZE(lsPrune)
PRECOMPILE_SPECIALIZE(lsReader)
PRECOMPILE_SPECIALIZE(lsReduce)
PRECOMPILE_SPECIALIZE(lsToDiskMesh)
PRECOMPILE_SPECIALIZE(lsToMesh)
PRECOMPILE_SPECIALIZE(lsToSurfaceMesh)
PRECOMPILE_SPECIALIZE(lsToVoxelMesh)
PRECOMPILE_SPECIALIZE(lsWriter)
PRECOMPILE_SPECIALIZE_PRECISION(PointData)
PRECOMPILE_SPECIALIZE_PRECISION(Mesh)
PRECOMPILE_SPECIALIZE(Advect)
PRECOMPILE_SPECIALIZE(BooleanOperation)
PRECOMPILE_SPECIALIZE(CalculateCurvatures)
PRECOMPILE_SPECIALIZE(CalculateNormalVectors)
PRECOMPILE_SPECIALIZE(Check)
PRECOMPILE_SPECIALIZE(ConvexHull)
PRECOMPILE_SPECIALIZE(Domain)
PRECOMPILE_SPECIALIZE(Expand)
PRECOMPILE_SPECIALIZE(GeometricAdvect)
PRECOMPILE_SPECIALIZE(DetectFeatures)
PRECOMPILE_SPECIALIZE(FromMesh)
PRECOMPILE_SPECIALIZE(FromSurfaceMesh)
PRECOMPILE_SPECIALIZE(FromVolumeMesh)
PRECOMPILE_SPECIALIZE(Sphere)
PRECOMPILE_SPECIALIZE(Plane)
PRECOMPILE_SPECIALIZE(Box)
PRECOMPILE_SPECIALIZE(PointCloud)
PRECOMPILE_SPECIALIZE(MakeGeometry)
PRECOMPILE_SPECIALIZE(Prune)
PRECOMPILE_SPECIALIZE(Reader)
PRECOMPILE_SPECIALIZE(Reduce)
PRECOMPILE_SPECIALIZE(ToDiskMesh)
PRECOMPILE_SPECIALIZE(ToMesh)
PRECOMPILE_SPECIALIZE(ToSurfaceMesh)
PRECOMPILE_SPECIALIZE(ToVoxelMesh)
PRECOMPILE_SPECIALIZE(Writer)
#ifdef VIENNALS_USE_VTK
PRECOMPILE_SPECIALIZE(lsWriteVisualizationMesh)
#endif
PRECOMPILE_SPECIALIZE(WriteVisualizationMesh)
#endif

} // namespace viennals

0 comments on commit 72fc613

Please sign in to comment.