Make ImdSession into a Pimpl-ed class with factory function
[alexxy/gromacs.git] / src / gromacs / mdlib / force.h
index 67d9d474047d7dc9308eb1707f65c5ab511fe725..b6193b4bbff75486fde28f97d2d3927502f53c48 100644 (file)
@@ -56,7 +56,6 @@ struct t_blocka;
 struct t_commrec;
 struct t_fcdata;
 struct t_forcerec;
-struct t_gmx_IMD;
 struct t_graph;
 struct t_idef;
 struct t_inputrec;
@@ -67,8 +66,9 @@ struct t_nrnb;
 namespace gmx
 {
 class Awh;
-class PpForceWorkload;
 class ForceWithVirial;
+class ImdSession;
+class PpForceWorkload;
 class MDLogger;
 }
 
@@ -96,7 +96,7 @@ void do_force(FILE                                     *log,
               const t_inputrec                         *inputrec,
               gmx::Awh                                 *awh,
               gmx_enfrot                               *enforcedRotation,
-              t_gmx_IMD                                *imdSession,
+              gmx::ImdSession                          *imdSession,
               int64_t                                   step,
               t_nrnb                                   *nrnb,
               gmx_wallcycle                            *wcycle,