%module HarmDihedralSystemForce %{ #include "../topology/PeriodicBoundaryConditions.h" #include "../topology/VacuumBoundaryConditions.h" #include "../topology/SemiGenericTopology.h" #include "HarmDihedralSystemForce.h" ProtoMol::HarmDihedralSystemForce * newHDSFPBC(ProtoMol::HarmDihedralSystemForce h, float kb, int d, float dR, bool o) { ProtoMol::HarmDihedralSystemForce * hdsf = new ProtoMol::HarmDihedralSystemForce(kb, d, dR, o); *hdsf = h; return hdsf; } ProtoMol::HarmDihedralSystemForce * newHDSFVBC(ProtoMol::HarmDihedralSystemForce h, float kb, int d, float dR, bool o) { ProtoMol::HarmDihedralSystemForce * hdsf = new ProtoMol::HarmDihedralSystemForce(kb, d, dR, o); *hdsf = h; return hdsf; } %} %include "std_vector.i" %template() std::vector; %include "../base/Real.h" %include "../base/Proxy.h" %include "../base/Vector3D.h" %include "../base/AbstractEnumType.h" %include "../base/simpleTypes.h" %include "../base/ConstraintValueType.h" %include "../base/ValueType.h" %include "../base/Value.h" %include "../base/Parameter.h" %include "../base/Vector3DBlock.h" %include "../base/MakeableDefinition.h" %include "../base/Makeable.h" %include "Force.h" %include "SystemForce.h" %include "../topology/Torsion.h" %include "MTorsionSystemForce.h" %template(MTSF_Periodic) ProtoMol::MTorsionSystemForce ; %template(MTSF_Vacuum) ProtoMol::MTorsionSystemForce ; %include "HarmDihedralSystemForce.h" %template(HDSF_Periodic) ProtoMol::HarmDihedralSystemForce ; %template(HDSF_Vacuum) ProtoMol::HarmDihedralSystemForce ; ProtoMol::HarmDihedralSystemForce * newHDSFPBC(ProtoMol::HarmDihedralSystemForce h, float kb, int d, float dR, bool o); ProtoMol::HarmDihedralSystemForce * newHDSFVBC(ProtoMol::HarmDihedralSystemForce h, float kb, int d, float dR, bool o);