provide Command base class in command.h for deriving command styles from

This commit is contained in:
Axel Kohlmeyer
2021-04-13 17:47:00 -04:00
parent f07fa3d266
commit b53822da46
74 changed files with 203 additions and 180 deletions

View File

@ -20,13 +20,13 @@ CommandStyle(write_coeff,WriteCoeff)
#ifndef LMP_WRITE_COEFF_H
#define LMP_WRITE_COEFF_H
#include "pointers.h"
#include "command.h"
namespace LAMMPS_NS {
class WriteCoeff : protected Pointers {
class WriteCoeff : protected Command {
public:
WriteCoeff(class LAMMPS *lmp) : Pointers(lmp) {};
WriteCoeff(class LAMMPS *lmp) : Command(lmp) {};
void command(int, char **);
};