mirror of https://github.com/lammps/lammps.git
switch to 100 chars columnwidth and apply clang-format to a few .cpp files
This commit is contained in:
parent
d8291eea7b
commit
68160e3f22
|
@ -16,7 +16,7 @@ BraceWrapping:
|
|||
BreakBeforeBraces: Custom
|
||||
BreakConstructorInitializers: AfterColon
|
||||
BreakInheritanceList: AfterColon
|
||||
ColumnLimit: 80
|
||||
ColumnLimit: 100
|
||||
IndentCaseLabels: true
|
||||
IndentWidth: 2
|
||||
NamespaceIndentation: Inner
|
||||
|
|
15
src/main.cpp
15
src/main.cpp
|
@ -1,4 +1,3 @@
|
|||
// clang-format off
|
||||
/* ----------------------------------------------------------------------
|
||||
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
|
||||
https://lammps.sandia.gov/, Sandia National Laboratories
|
||||
|
@ -13,19 +12,17 @@
|
|||
------------------------------------------------------------------------- */
|
||||
|
||||
#include "lammps.h"
|
||||
|
||||
#include "input.h"
|
||||
|
||||
#include <mpi.h>
|
||||
#include <cstdlib>
|
||||
|
||||
#if defined(LAMMPS_TRAP_FPE) && defined(_GNU_SOURCE)
|
||||
#include <fenv.h>
|
||||
#endif
|
||||
|
||||
#if defined(LAMMPS_EXCEPTIONS)
|
||||
#include "exceptions.h"
|
||||
#endif
|
||||
|
||||
#include <cstdlib>
|
||||
#if defined(LAMMPS_TRAP_FPE) && defined(_GNU_SOURCE)
|
||||
#include <fenv.h>
|
||||
#endif
|
||||
|
||||
using namespace LAMMPS_NS;
|
||||
|
||||
/* ----------------------------------------------------------------------
|
||||
|
|
|
@ -19,9 +19,8 @@
|
|||
using namespace LAMMPS_NS;
|
||||
|
||||
TabularFunction::TabularFunction() :
|
||||
size(0), xmin(0.0), xmax(0.0), xmaxsq(0.0), rdx(0.0), vmax(0.0),
|
||||
xs(nullptr), ys(nullptr), ys1(nullptr), ys2(nullptr), ys3(nullptr),
|
||||
ys4(nullptr), ys5(nullptr), ys6(nullptr)
|
||||
size(0), xmin(0.0), xmax(0.0), xmaxsq(0.0), rdx(0.0), vmax(0.0), xs(nullptr), ys(nullptr),
|
||||
ys1(nullptr), ys2(nullptr), ys3(nullptr), ys4(nullptr), ys5(nullptr), ys6(nullptr)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
546
src/utils.cpp
546
src/utils.cpp
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue