Simplify EXPECT_FORCES() utility function
This commit is contained in:
@ -15,7 +15,8 @@
|
||||
#define TEST_MAIN_H
|
||||
|
||||
#include "test_config.h"
|
||||
#include "lmptype.h"
|
||||
#include "lammps.h"
|
||||
#include "atom.h"
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
@ -37,6 +38,6 @@ void write_yaml_header(class YamlWriter *writer, TestConfig *cfg, const char *ve
|
||||
} while (0);
|
||||
|
||||
void EXPECT_STRESS(const std::string & name, double * stress, const stress_t & expected_stress, double epsilon);
|
||||
void EXPECT_FORCES(const std::string & name, double ** f, LAMMPS_NS::tagint * tag, int nlocal, const std::vector<coord_t> & f_ref, double epsilon);
|
||||
void EXPECT_FORCES(const std::string & name, LAMMPS_NS::Atom * atom, const std::vector<coord_t> & f_ref, double epsilon);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user