Skip to content

Commit

Permalink
remove old DistributedWeightingField
Browse files Browse the repository at this point in the history
  • Loading branch information
philippwindischhofer committed Feb 2, 2024
1 parent fa1ac61 commit 07c4344
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 140 deletions.
63 changes: 0 additions & 63 deletions include/Eisvogel/DistributedWeightingField.hh

This file was deleted.

2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set(CMAKE_CXX_STANDARD_REQUIRED YES)
# set(CMAKE_CXX_FLAGS "-O3 -ftree-vectorize -ffast-math -msse2 -ftree-vectorizer-verbose=2 -funroll-loops -march=native -g -fno-omit-frame-pointer -fno-inline -fno-default-inline -fno-inline-functions -fno-inline-functions-called-once -fno-optimize-sibling-calls")
set(CMAKE_CXX_FLAGS "-O3 -ftree-vectorize -ffast-math -ftree-vectorizer-verbose=2 -funroll-loops -march=native")

add_library(eisvogel SHARED WeightingFieldUtils.cxx DistributedWeightingField.cxx Kernels.cxx Trajectory.cxx MathUtils.cxx SignalExport.cxx SignalCalculator.cxx IteratorUtils.cxx FieldStorage.cxx)
add_library(eisvogel SHARED WeightingFieldUtils.cxx Trajectory.cxx MathUtils.cxx SignalExport.cxx SignalCalculator.cxx IteratorUtils.cxx FieldStorage.cxx)

target_include_directories(eisvogel
PUBLIC "${PROJECT_SOURCE_DIR}/src"
Expand Down
71 changes: 0 additions & 71 deletions src/DistributedWeightingField.cxx

This file was deleted.

9 changes: 4 additions & 5 deletions tests/io/testDistributedWeightingField.cxx
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
#include "Eisvogel/DistributedWeightingField.hh"
#include "Eisvogel/CoordUtils.hh"

int main(int argc, char* argv[]) {

namespace CU = CoordUtils;
CoordVector start_coords = CU::MakeCoordVectorTRZ(-50.0, -10.0, -10.0);
CoordVector end_coords = CU::MakeCoordVectorTRZ(50.0, 10.0, 10.0);
// namespace CU = CoordUtils;
// CoordVector start_coords = CU::MakeCoordVectorTRZ(-50.0, -10.0, -10.0);
// CoordVector end_coords = CU::MakeCoordVectorTRZ(50.0, 10.0, 10.0);

DistributedWeightingField wf("./dist_wf", start_coords, end_coords);
// DistributedWeightingField wf("./dist_wf", start_coords, end_coords);
}

0 comments on commit 07c4344

Please sign in to comment.