rename source files to be consistent with naming conventions
This commit is contained in:
8
src/.gitignore
vendored
8
src/.gitignore
vendored
@ -1078,12 +1078,12 @@
|
||||
/geturl.cpp
|
||||
/geturl.h
|
||||
/gpu_extra.h
|
||||
/group_ndx.cpp
|
||||
/group_ndx.h
|
||||
/group2ndx.cpp
|
||||
/group2ndx.h
|
||||
/gz_file_writer.cpp
|
||||
/gz_file_writer.h
|
||||
/ndx_group.cpp
|
||||
/ndx_group.h
|
||||
/ndx2group.cpp
|
||||
/ndx2group.h
|
||||
/hyper.cpp
|
||||
/hyper.h
|
||||
/improper_class2.cpp
|
||||
|
||||
@ -1,6 +1,4 @@
|
||||
// -*- c++ -*-
|
||||
|
||||
/* ----------------------------------------------------------------------
|
||||
/* -*- c++ -*--------------------------------------------------------------
|
||||
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
|
||||
https://www.lammps.org/, Sandia National Laboratories
|
||||
LAMMPS development team: developers@lammps.org
|
||||
@ -16,7 +14,7 @@
|
||||
Contributing author: Axel Kohlmeyer (Temple U)
|
||||
------------------------------------------------------------------------- */
|
||||
|
||||
#include "group_ndx.h"
|
||||
#include "group2ndx.h"
|
||||
|
||||
#include "atom.h"
|
||||
#include "comm.h"
|
||||
@ -1,6 +1,4 @@
|
||||
// -*- c++ -*-
|
||||
|
||||
/* ----------------------------------------------------------
|
||||
/* -*- c++ -*-----------------------------------------------------------
|
||||
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
|
||||
https://www.lammps.org/, Sandia National Laboratories
|
||||
LAMMPS development team: developers@lammps.org
|
||||
@ -19,8 +17,8 @@ CommandStyle(group2ndx,Group2Ndx);
|
||||
// clang-format on
|
||||
#else
|
||||
|
||||
#ifndef LMP_GROUP_NDX_H
|
||||
#define LMP_GROUP_NDX_H
|
||||
#ifndef LMP_GROUP2NDX_H
|
||||
#define LMP_GROUP2NDX_H
|
||||
|
||||
#include "command.h"
|
||||
|
||||
@ -28,7 +26,7 @@ namespace LAMMPS_NS {
|
||||
|
||||
class Group2Ndx : public Command {
|
||||
public:
|
||||
Group2Ndx(class LAMMPS *lmp) : Command(lmp){};
|
||||
Group2Ndx(class LAMMPS *lmp) : Command(lmp) {};
|
||||
void command(int, char **) override;
|
||||
|
||||
private:
|
||||
@ -1,6 +1,4 @@
|
||||
// -*- c++ -*-
|
||||
|
||||
/* ----------------------------------------------------------------------
|
||||
/* -*- c++ -*---------------------------------------------------------------
|
||||
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
|
||||
https://www.lammps.org/, Sandia National Laboratories
|
||||
LAMMPS development team: developers@lammps.org
|
||||
@ -16,7 +14,7 @@
|
||||
Contributing author: Axel Kohlmeyer (Temple U)
|
||||
------------------------------------------------------------------------- */
|
||||
|
||||
#include "ndx_group.h"
|
||||
#include "ndx2group.h"
|
||||
|
||||
#include "atom.h"
|
||||
#include "comm.h"
|
||||
@ -33,8 +31,7 @@ static std::string find_section(FILE *fp, const std::string &name)
|
||||
{
|
||||
char linebuf[BUFLEN];
|
||||
|
||||
if (!fgets(linebuf, BUFLEN, fp))
|
||||
throw TokenizerException("Read error", utils::getsyserror());
|
||||
if (!fgets(linebuf, BUFLEN, fp)) throw TokenizerException("Read error", utils::getsyserror());
|
||||
while (!feof(fp)) {
|
||||
if (utils::strmatch(linebuf, "^\\s*\\[.*\\]\\s*$")) {
|
||||
auto words = Tokenizer(linebuf).as_vector();
|
||||
@ -1,6 +1,4 @@
|
||||
// -*- c++ -*-
|
||||
|
||||
/* ----------------------------------------------------------
|
||||
/* -*- c++ -*-------------------------------------------------------------
|
||||
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
|
||||
https://www.lammps.org/, Sandia National Laboratories
|
||||
LAMMPS development team: developers@lammps.org
|
||||
@ -19,8 +17,8 @@ CommandStyle(ndx2group,Ndx2Group);
|
||||
// clang-format on
|
||||
#else
|
||||
|
||||
#ifndef LMP_NDX_GROUP_H
|
||||
#define LMP_NDX_GROUP_H
|
||||
#ifndef LMP_NDX2GROUP_H
|
||||
#define LMP_NDX2GROUP_H
|
||||
|
||||
#include "command.h"
|
||||
#include <vector>
|
||||
@ -29,7 +27,7 @@ namespace LAMMPS_NS {
|
||||
|
||||
class Ndx2Group : public Command {
|
||||
public:
|
||||
Ndx2Group(class LAMMPS *lmp) : Command(lmp){};
|
||||
Ndx2Group(class LAMMPS *lmp) : Command(lmp) {};
|
||||
void command(int, char **) override;
|
||||
|
||||
private:
|
||||
@ -53,6 +53,11 @@ lmpinstalledpkgs.h
|
||||
lmpgitversion.h
|
||||
mliap_model_python_couple.cpp
|
||||
mliap_model_python_couple.h
|
||||
# renamed in September 2024
|
||||
group_ndx.cpp
|
||||
group_ndx.h
|
||||
ndx_group.cpp
|
||||
ndx_group.h
|
||||
# removed in August 2023
|
||||
dump_atom_mpiio.cpp
|
||||
dump_atom_mpiio.h
|
||||
|
||||
Reference in New Issue
Block a user