35 |
|
#define BRAINS_SIMCREATOR_HPP |
36 |
|
|
37 |
|
|
38 |
+ |
#include "primitives/Molecule.hpp" |
39 |
+ |
#include "brans/SimInfo.hpp" |
40 |
+ |
#include "types/MakeStamps.hpp" |
41 |
+ |
#include "io/Globals.hpp" |
42 |
+ |
#include "UseTheForce/ForceField.hpp" |
43 |
+ |
|
44 |
|
namespace oopse { |
45 |
|
|
46 |
|
/** |
49 |
|
*/ |
50 |
|
class SimCreator { |
51 |
|
public: |
52 |
< |
void parseFile(const string& mdfile); |
53 |
< |
void createSim(); |
52 |
> |
|
53 |
> |
SimInfo* createSim(char* mdfile); |
54 |
|
|
55 |
|
protected: |
56 |
+ |
|
57 |
+ |
void parseFile(char* mdfile, MakeStamps* stamps, Globals* globals); |
58 |
|
|
59 |
< |
virtual ForceFiled* createForceFiled(); |
59 |
> |
#ifdef IS_MPI |
60 |
> |
void mpiMolDivide( void ); |
61 |
> |
#endif //is_mpi |
62 |
> |
|
63 |
> |
virtual ForceField* createForceField(); |
64 |
|
virtual Molecule* createMolecule(); |
65 |
|
virtual Atom* createAtom(); |
66 |
|
virtual RigidBody* createRigidBody(); |
67 |
|
virtual Bond* createBond(); |
68 |
|
virtual Bend* createBend(); |
69 |
< |
virtual Torsion* createTorsion(); |
70 |
< |
|
71 |
< |
|
72 |
< |
|
61 |
< |
|
69 |
> |
virtual Torsion* createTorsion(); |
70 |
> |
|
71 |
> |
private: |
72 |
> |
compList(MakeStamps* stamps,SimInfo* info) ; |
73 |
|
}; |
74 |
|
|
75 |
|
} //end namespace oopse |