Skip to content

Commit

Permalink
move kernels to new name and remove old integrator
Browse files Browse the repository at this point in the history
  • Loading branch information
philippwindischhofer committed Feb 2, 2024
1 parent 39e8261 commit e61c2c6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 177 deletions.
2 changes: 1 addition & 1 deletion include/Eisvogel/Kernels.hh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include <cmath>
#include "Common.hh"

struct KeysCubicInterpolationKernelNew {
struct KeysCubicInterpolationKernel {

const static int Support = 2;

Expand Down
174 changes: 0 additions & 174 deletions src/Integrator.cxx

This file was deleted.

4 changes: 2 additions & 2 deletions src/IntegratorNew.hh
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
#include "Eisvogel/Current0D.hh"
#include "Eisvogel/Kernels.hh"

template <class WeightingFieldT, typename KernelT = KeysCubicInterpolationKernelNew>
template <class WeightingFieldT, typename KernelT = KeysCubicInterpolationKernel>
scalar_t integrate(WeightingFieldT& wf, scalar_t t, const Current0D& curr, scalar_t os_factor = 1.0);

template <class WeightingFieldT, typename KernelT = KeysCubicInterpolationKernelNew>
template <class WeightingFieldT, typename KernelT = KeysCubicInterpolationKernel>
scalar_t integrate(WeightingFieldT& wf, scalar_t t, const SparseCurrentDensity3D& current_distribution);

#include "IntegratorNew.hxx"
Expand Down

0 comments on commit e61c2c6

Please sign in to comment.