apply clang-format
This commit is contained in:
@ -1,4 +1,3 @@
|
||||
// clang-format off
|
||||
/* ----------------------------------------------------------------------
|
||||
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
|
||||
https://www.lammps.org/, Sandia National Laboratories
|
||||
@ -39,9 +38,7 @@ Python::~Python()
|
||||
|
||||
/* ---------------------------------------------------------------------- */
|
||||
|
||||
PythonInterface::~PythonInterface()
|
||||
{
|
||||
}
|
||||
PythonInterface::~PythonInterface() {}
|
||||
|
||||
/* ---------------------------------------------------------------------- */
|
||||
|
||||
@ -50,12 +47,13 @@ void Python::init()
|
||||
#if defined(LMP_PYTHON)
|
||||
if (!impl) impl = new PythonImpl(lmp);
|
||||
#else
|
||||
error->all(FLERR,"Python support missing! Compile with PYTHON package installed!");
|
||||
error->all(FLERR, "Python support missing! Compile with PYTHON package installed!");
|
||||
#endif
|
||||
}
|
||||
|
||||
/* ---------------------------------------------------------------------- */
|
||||
bool Python::is_enabled() const {
|
||||
bool Python::is_enabled() const
|
||||
{
|
||||
#if defined(LMP_PYTHON)
|
||||
return true;
|
||||
#else
|
||||
@ -97,7 +95,7 @@ int Python::variable_match(const char *name, const char *varname, int numeric)
|
||||
|
||||
/* ------------------------------------------------------------------ */
|
||||
|
||||
char * Python::long_string(int ifunc)
|
||||
char *Python::long_string(int ifunc)
|
||||
{
|
||||
init();
|
||||
return impl->long_string(ifunc);
|
||||
|
||||
Reference in New Issue
Block a user