Make ImdSession into a Pimpl-ed class with factory function
[alexxy/gromacs.git] / src / gromacs / mdlib / shellfc.h
index c9f868048c9125b7378e3731ff2f0ea7b47c307b..1842314e40ffd4838997c58bf2e2b4e0c7ab670e 100644 (file)
@@ -51,7 +51,6 @@ struct gmx_shellfc_t;
 struct gmx_mtop_t;
 struct t_forcerec;
 struct t_fcdata;
-struct t_gmx_IMD;
 struct t_graph;
 struct t_inputrec;
 class t_state;
@@ -59,6 +58,7 @@ class t_state;
 namespace gmx
 {
 class Constraints;
+class ImdSession;
 class PpForceWorkload;
 }
 
@@ -82,7 +82,7 @@ void relax_shell_flexcon(FILE                                     *log,
                          gmx_enfrot                               *enforcedRotation,
                          int64_t                                   mdstep,
                          const t_inputrec                         *inputrec,
-                         t_gmx_IMD                                *imdSession,
+                         gmx::ImdSession                          *imdSession,
                          gmx_bool                                  bDoNS,
                          int                                       force_flags,
                          gmx_localtop_t                           *top,