-
- Downloads
There was an error fetching the commit references. Please try again later.
Extensive use of forward class declaration.
Basically I replaced all objects included in other objects with references, so as to eliminate the need to include the corresponding header file. In this manner the entanglement of compilation is greatly reduced. Forward class declaration is now used everywhere excepted for: * cases where it is impossible due to inline functions (for efficiency or because they are templates) * cases where it is impossible due to inheritance * small objects of fixed size such as Vector/Tensor/AtomNumber/Units/Pbc * classes of std:: namespace (it is not possible to forward-declare them).
Showing
- src/Action.cpp 2 additions, 0 deletionssrc/Action.cpp
- src/ActionAtomistic.cpp 2 additions, 0 deletionssrc/ActionAtomistic.cpp
- src/ActionAtomistic.h 0 additions, 1 deletionsrc/ActionAtomistic.h
- src/ActionRegister.cpp 1 addition, 0 deletionssrc/ActionRegister.cpp
- src/ActionRegister.h 3 additions, 1 deletionsrc/ActionRegister.h
- src/ActionSetup.cpp 1 addition, 0 deletionssrc/ActionSetup.cpp
- src/ActionWithArguments.cpp 1 addition, 0 deletionssrc/ActionWithArguments.cpp
- src/ActionWithVirtualAtom.h 1 addition, 0 deletionssrc/ActionWithVirtualAtom.h
- src/BiasMetaD.cpp 1 addition, 0 deletionssrc/BiasMetaD.cpp
- src/ColvarCoordination.cpp 1 addition, 0 deletionssrc/ColvarCoordination.cpp
- src/ColvarRMSD.cpp 1 addition, 0 deletionssrc/ColvarRMSD.cpp
- src/GREX.cpp 7 additions, 0 deletionssrc/GREX.cpp
- src/GREX.h 3 additions, 3 deletionssrc/GREX.h
- src/GenericDebug.cpp 1 addition, 0 deletionssrc/GenericDebug.cpp
- src/GenericDumpAtoms.cpp 1 addition, 0 deletionssrc/GenericDumpAtoms.cpp
- src/GenericFlush.cpp 1 addition, 0 deletionssrc/GenericFlush.cpp
- src/GenericGroup.cpp 1 addition, 0 deletionssrc/GenericGroup.cpp
- src/GenericWholeMolecules.cpp 1 addition, 0 deletionssrc/GenericWholeMolecules.cpp
- src/PlumedMain.cpp 15 additions, 3 deletionssrc/PlumedMain.cpp
- src/PlumedMain.h 9 additions, 9 deletionssrc/PlumedMain.h
Loading
Please register or sign in to comment