Skip to content

Commit

Permalink
Some more forward declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
GiovanniBussi committed Feb 20, 2018
1 parent e250529 commit bf94a41
Show file tree
Hide file tree
Showing 10 changed files with 19 additions and 9 deletions.
1 change: 0 additions & 1 deletion src/colvar/PathMSDBase.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@

#include "tools/PDB.h"
#include "tools/RMSD.h"
#include "tools/Tools.h"

namespace PLMD {
namespace colvar {
Expand Down
2 changes: 1 addition & 1 deletion src/core/Action.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
#include <string>
#include <set>
#include "tools/Keywords.h"
#include "Value.h"
#include "tools/Tools.h"
#include "tools/Log.h"

Expand All @@ -34,6 +33,7 @@ namespace PLMD {
class PDB;
class PlumedMain;
class Communicator;
class ActionWithValue;

/// This class is used to bring the relevant information to the Action constructor.
/// Only Action and ActionRegister class can access to its content, which is
Expand Down
1 change: 1 addition & 0 deletions src/core/MDAtoms.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
#include "tools/Tools.h"
#include "tools/OpenMP.h"
#include "tools/Exception.h"
#include "tools/Units.h"
#include <algorithm>
#include <string>

Expand Down
3 changes: 2 additions & 1 deletion src/core/MDAtoms.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,11 @@
#include <vector>
#include <set>
#include <memory>
#include "tools/Units.h"

namespace PLMD {

class Units;

/**
Class containing interface to MDAtomsTyped
Expand Down
2 changes: 2 additions & 0 deletions src/function/FuncSumHills.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,11 @@
#include "tools/Exception.h"
#include "tools/Communicator.h"
#include "tools/BiasRepresentation.h"
#include "tools/KernelFunctions.h"
#include "tools/File.h"
#include "tools/Tools.h"
#include "tools/Stopwatch.h"
#include "tools/Grid.h"
#include <iostream>
#include <memory>

Expand Down
1 change: 1 addition & 0 deletions src/function/Function.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
#include "Function.h"
#include "tools/OpenMP.h"
#include "tools/Communicator.h"

using namespace std;
namespace PLMD {
Expand Down
1 change: 0 additions & 1 deletion src/function/Function.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@

#include "core/ActionWithValue.h"
#include "core/ActionWithArguments.h"
#include "tools/Communicator.h"

namespace PLMD {
namespace function {
Expand Down
4 changes: 4 additions & 0 deletions src/tools/BiasRepresentation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@
#include "core/Value.h"
#include "Communicator.h"
#include <iostream>
#include "KernelFunctions.h"
#include "File.h"
#include "Grid.h"


namespace PLMD {

Expand Down
12 changes: 8 additions & 4 deletions src/tools/BiasRepresentation.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,18 @@
#define __PLUMED_tools_BiasRepresentation_h

#include "Exception.h"
#include "KernelFunctions.h"
#include "File.h"
#include "Grid.h"
#include <memory>
#include <vector>

namespace PLMD {

//+PLUMEDOC INTERNAL biasrepresentation
class Value;
class Grid;
class IFile;
class KernelFunctions;
class Communicator;

//+PLUMEDOC INTERNAL biasrepresentation
/*
*/
Expand Down
1 change: 0 additions & 1 deletion src/tools/KernelFunctions.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
#ifndef __PLUMED_tools_KernelFunctions_h
#define __PLUMED_tools_KernelFunctions_h

#include "Tools.h"
#include "Matrix.h"
#include "core/Value.h"
#include <vector>
Expand Down

0 comments on commit bf94a41

Please sign in to comment.