74 : m_method_name{std::move(method)}, m_parameters{std::move(parameters)} {
76 handle_error(fcs_init(&m_handle, m_method_name.c_str(), comm));
78 fcs_set_resort(m_handle, 0);
80 handle_error(fcs_parser(m_handle, m_parameters.c_str(), 0));
86 int const *periodicity,
88 int near_field_flag) {
90 double boxa[3] = {box_l[0], 0., 0.};
91 double boxb[3] = {0., box_l[1], 0.};
92 double boxc[3] = {0., 0., box_l[2]};
93 double off[3] = {0., 0., 0.};
94 handle_error(fcs_set_common(m_handle, near_field_flag, boxa, boxb, boxc, off,
95 periodicity, total_particles));
void set_runtime_parameters(double const *box_l, int const *periodicity, int total_particles, int near_field_flag)
Set box geometry, number of particles and calculation type.