remove debug code, move to toplevel dir and document kspace style zero
This commit is contained in:
@ -95,7 +95,6 @@ add_library(zero2plugin MODULE zero2plugin.cpp pair_zero2.cpp bond_zero2.cpp
|
||||
target_link_libraries(zero2plugin PRIVATE lammps)
|
||||
|
||||
add_library(kspaceplugin MODULE kspaceplugin.cpp kspace_zero2.cpp)
|
||||
target_include_directories(kspaceplugin PRIVATE "${LAMMPS_HEADER_DIR}/KSPACE")
|
||||
target_link_libraries(kspaceplugin PRIVATE lammps)
|
||||
|
||||
add_library(runminplugin MODULE runminplugin.cpp min_cg2.cpp verlet2.cpp)
|
||||
|
||||
@ -41,11 +41,6 @@ KSpaceZero2::KSpaceZero2(LAMMPS *lmp) : KSpace(lmp)
|
||||
spinflag = 1;
|
||||
}
|
||||
|
||||
KSpaceZero2::~KSpaceZero2()
|
||||
{
|
||||
fprintf(stderr, "In destructor for KSpace zero2. This = %p\n", this);
|
||||
}
|
||||
|
||||
/* ---------------------------------------------------------------------- */
|
||||
|
||||
void KSpaceZero2::settings(int narg, char **arg)
|
||||
|
||||
@ -21,7 +21,6 @@ namespace LAMMPS_NS {
|
||||
class KSpaceZero2 : public KSpace {
|
||||
public:
|
||||
KSpaceZero2(class LAMMPS *);
|
||||
~KSpaceZero2() override;
|
||||
|
||||
void init() override;
|
||||
void setup() override;
|
||||
|
||||
@ -15,7 +15,6 @@ using namespace LAMMPS_NS;
|
||||
static KSpace *zero2creator(LAMMPS *lmp)
|
||||
{
|
||||
KSpace *ptr = (KSpace *) new KSpaceZero2(lmp);
|
||||
fprintf(stderr, "Created zero2 instance at %p\n", ptr);
|
||||
return ptr;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user