Skip to content

Commit

Permalink
Move checkTest() signature to a header file
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin D. Weinberg committed Oct 1, 2023
1 parent 4e580df commit 13bebf1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 11 deletions.
5 changes: 1 addition & 4 deletions coefs/BasisFactory.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,13 @@
#include <EXPException.H>
#include <BasisFactory.H>
#include <DiskModels.H>
#include <exputils.H>
#include <gaussQ.H>

#ifdef HAVE_FE_ENABLE
#include <cfenv>
#endif

extern void orthoTest(const std::vector<Eigen::MatrixXd>& tests,
const std::string& classname,
const std::string& indexname);

namespace BasisClasses
{

Expand Down
4 changes: 1 addition & 3 deletions src/Cylinder.cc
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,12 @@
#include <Cylinder.H>
#include <MixtureBasis.H>
#include <Timer.H>
#include <exputils.H>

Timer timer_debug;

double EXPSCALE=1.0, HSCALE=1.0, ASHIFT=0.25;

extern void orthoTest(const std::vector<Eigen::MatrixXd>& tests,
const std::string& classname,
const std::string& indexname);

//@{
//! These are for testing exclusively (should be set false for production)
Expand Down
5 changes: 1 addition & 4 deletions src/Sphere.cc
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,7 @@
#include <Sphere.H>
#include <plummer.H>
#include <interp.H>

extern void orthoTest(const std::vector<Eigen::MatrixXd>& tests,
const std::string& classname,
const std::string& indexname);
#include <exputils.H>

const std::set<std::string>
Sphere::valid_keys = {
Expand Down

0 comments on commit 13bebf1

Please sign in to comment.