Skip to content

Commit

Permalink
Multipole: decorate sphericalharmonic
Browse files Browse the repository at this point in the history
  • Loading branch information
lwJi committed Jun 23, 2024
1 parent 95a69c4 commit ab2e3fe
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 14 deletions.
2 changes: 1 addition & 1 deletion Multipole/src/make.code.defn
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ SRCS = \
integrate.cxx \
interpolate.cxx \
multipole.cc \
sphericalharmonic.cc \
sphericalharmonic.cxx \
tests.cc \
utils.cc
2 changes: 1 addition & 1 deletion Multipole/src/multipole.cc
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#include "multipole.hh"
#include "interpolate.hxx"
#include "utils.hh"
#include "sphericalharmonic.hh"
#include "sphericalharmonic.hxx"

using namespace std;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
#include "sphericalharmonic.hxx"

#include <math.h>
#include <assert.h>
#include <iostream>
#include <vector>
#include <loop_device.hxx>

#include "cctk.h"
#include "cctk_Parameters.h"
#include "cctk_Arguments.h"
#include "sphericalharmonic.hh"

static const CCTK_REAL PI = acos(-1.0);

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
#ifndef MULTIPOLE_SPHERICALHARMONIC_HXX
#define MULTIPOLE_SPHERICALHARMONIC_HXX

#ifndef __sphericalharmonic_h
#define __sphericalharmonic_h
#include "cctk.h"
#include <cctk.h>
#include <cctk_Parameters.h>
#include <cctk_Arguments.h>

void Multipole_HarmonicSetup(int s, int l, int m, int array_size,
CCTK_REAL const th[], CCTK_REAL const ph[],
Expand All @@ -10,7 +12,4 @@ void Multipole_HarmonicSetup(int s, int l, int m, int array_size,
void Multipole_SphericalHarmonic(int s, int l, int m, CCTK_REAL th,
CCTK_REAL ph, CCTK_REAL *reY, CCTK_REAL *imY);

void Multipole_SphericalHarmonicWeyl(int s, int l, int m, CCTK_REAL th,
CCTK_REAL ph, CCTK_REAL *reY,
CCTK_REAL *imY);
#endif
#endif // #ifndef MULTIPOLE_SPHERICALHARMONIC_HXX
2 changes: 1 addition & 1 deletion Multipole/src/tests.cc
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#include "utils.hh"
#include "integrate.hxx"
#include "interpolate.hxx"
#include "sphericalharmonic.hh"
#include "sphericalharmonic.hxx"

using namespace Multipole;

Expand Down

0 comments on commit ab2e3fe

Please sign in to comment.