%module DihedralSystemForce %{ #include "../topology/PeriodicBoundaryConditions.h" #include "../topology/VacuumBoundaryConditions.h" #include "../topology/SemiGenericTopology.h" #include "DihedralSystemForce.h" ProtoMol::DihedralSystemForce * newDSFPBC(ProtoMol::DihedralSystemForce d) { ProtoMol::DihedralSystemForce * dsf = new ProtoMol::DihedralSystemForce(); *dsf = d; return dsf; } ProtoMol::DihedralSystemForce * newDSFVBC(ProtoMol::DihedralSystemForce d) { ProtoMol::DihedralSystemForce * dsf = new ProtoMol::DihedralSystemForce(); *dsf = d; return dsf; } %} %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 "DihedralSystemForce.h" %template(DSF_Periodic) ProtoMol::DihedralSystemForce ; %template(DSF_Vacuum) ProtoMol::DihedralSystemForce ; ProtoMol::DihedralSystemForce * newDSFPBC(ProtoMol::DihedralSystemForce d); ProtoMol::DihedralSystemForce * newDSFVBC(ProtoMol::DihedralSystemForce d);