7 #ifndef COMPUTEMSMMSA_H 8 #define COMPUTEMSMMSA_H 18 typedef MSA::MSA3D<float, DefaultEntry<float>,
19 MSA_DEFAULT_ENTRIES_PER_PAGE> MsmMsaGrid;
25 Int3(
int mx,
int my,
int mz) :
nx(mx),
ny(my),
nz(mz) { }
26 void pup(PUP::er &p) { p|
nx, p|
ny, p|
nz; }
31 typedef Force MsmMsaForce;
36 virtual ~ComputeMsmMsa();
38 void saveResults(
int n,
const MsmMsaForce [],
double self_energy);
47 float hx_1, hy_1, hz_1;
50 float origin_x, origin_y, origin_z;
52 int nlevels, maxlevels, toplevel;
57 std::vector<MsmMsaGrid> qh;
58 std::vector<MsmMsaGrid> eh;
59 std::vector<Int3> grid_len;
60 std::vector<Int3> grid_idstart;
62 std::vector<float> scaling;
65 std::vector<float> gc;
69 std::vector<float> gctop;
71 std::vector<int> num_clients_qh;
72 std::vector<int> num_clients_eh;
74 int num_anterpolation_chares;
75 int num_interpolation_chares;
76 std::vector<int> num_restriction_chares;
77 std::vector<int> num_prolongation_chares;
78 std::vector<int> num_gridcutoff_chares;
79 std::vector<Int3> dim_gridcutoff_chares;
80 std::vector<Int3> dim_gridtransfer_chares;
81 int num_total_restriction_chares;
82 int num_total_prolongation_chares;
83 int num_total_gridcutoff_chares;
84 int num_energy_chares;
86 Int3 num_points_per_chare;
88 double self_energy_const;
94 #endif // CHARM_HAS_MSA 96 #endif // COMPUTEMSMMSA_H
std::vector< std::string > split(const std::string &text, std::string delimiter)