apply clang-format
This commit is contained in:
@ -61,7 +61,7 @@ void cleanup_lammps(LAMMPS *lmp, const TestConfig &cfg)
|
|||||||
delete lmp;
|
delete lmp;
|
||||||
}
|
}
|
||||||
|
|
||||||
LAMMPS *init_lammps(LAMMPS::argv & args, const TestConfig &cfg, const bool use_respa = false)
|
LAMMPS *init_lammps(LAMMPS::argv &args, const TestConfig &cfg, const bool use_respa = false)
|
||||||
{
|
{
|
||||||
LAMMPS *lmp;
|
LAMMPS *lmp;
|
||||||
|
|
||||||
@ -170,7 +170,7 @@ void generate_yaml_file(const char *outfile, const TestConfig &config)
|
|||||||
{
|
{
|
||||||
// initialize system geometry
|
// initialize system geometry
|
||||||
LAMMPS::argv args = {"FixIntegrate", "-log", "none", "-echo", "screen", "-nocite"};
|
LAMMPS::argv args = {"FixIntegrate", "-log", "none", "-echo", "screen", "-nocite"};
|
||||||
LAMMPS *lmp = init_lammps(args, config);
|
LAMMPS *lmp = init_lammps(args, config);
|
||||||
if (!lmp) {
|
if (!lmp) {
|
||||||
std::cerr << "One or more prerequisite styles are not available "
|
std::cerr << "One or more prerequisite styles are not available "
|
||||||
"in this LAMMPS configuration:\n";
|
"in this LAMMPS configuration:\n";
|
||||||
@ -543,7 +543,6 @@ TEST(FixTimestep, omp)
|
|||||||
LAMMPS::argv args = {"FixTimestep", "-log", "none", "-echo", "screen", "-nocite",
|
LAMMPS::argv args = {"FixTimestep", "-log", "none", "-echo", "screen", "-nocite",
|
||||||
"-pk", "omp", "4", "-sf", "omp"};
|
"-pk", "omp", "4", "-sf", "omp"};
|
||||||
|
|
||||||
|
|
||||||
::testing::internal::CaptureStdout();
|
::testing::internal::CaptureStdout();
|
||||||
LAMMPS *lmp = init_lammps(args, test_config);
|
LAMMPS *lmp = init_lammps(args, test_config);
|
||||||
std::string output = ::testing::internal::GetCapturedStdout();
|
std::string output = ::testing::internal::GetCapturedStdout();
|
||||||
|
|||||||
Reference in New Issue
Block a user