Skip to content

Commit

Permalink
Use upstream interfaces
Browse files Browse the repository at this point in the history
  • Loading branch information
pgrete committed Sep 9, 2024
1 parent 4e4581a commit 14976c1
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 316 deletions.
2 changes: 0 additions & 2 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ add_executable(
tracers/tracers.hpp
utils/few_modes_ft.cpp
utils/few_modes_ft.hpp
utils/interpolation.hpp
utils/robust.hpp
)

add_subdirectory(pgen)
Expand Down
10 changes: 7 additions & 3 deletions src/tracers/tracers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,21 @@
#include <string>
#include <vector>

#include "../main.hpp"
#include "../utils/interpolation.hpp"
// Parthenon headers
#include "basic_types.hpp"
#include "interface/metadata.hpp"
#include "kokkos_abstraction.hpp"
#include "parthenon_array_generic.hpp"
#include "tracers.hpp"
#include "utils/error_checking.hpp"
#include "utils/interpolation.hpp"

// AthenaPK headers
#include "../main.hpp"
#include "tracers.hpp"

namespace Tracers {
using namespace parthenon::package::prelude;
namespace LCInterp = parthenon::interpolation::cent::linear;

std::shared_ptr<StateDescriptor> Initialize(ParameterInput *pin) {
auto tracer_pkg = std::make_shared<StateDescriptor>("tracers");
Expand Down
245 changes: 0 additions & 245 deletions src/utils/interpolation.hpp

This file was deleted.

66 changes: 0 additions & 66 deletions src/utils/robust.hpp

This file was deleted.

0 comments on commit 14976c1

Please sign in to comment.