Simplify and fix how lambda values are set
[alexxy/gromacs.git] / src / gromacs / mdtypes / state.h
index 86ec3e5ba87eb9fe5740f4976a7aeb0b746220bd..9b2db3b779d1c17592746a333d58f396dfc13693 100644 (file)
@@ -361,19 +361,12 @@ static inline gmx::ArrayRef<const gmx::RVec> positionsFromStatePointer(const t_s
 void printLambdaStateToLog(FILE* fplog, gmx::ArrayRef<real> lambda, bool isInitialOutput);
 
 
-/*! \brief Fills fep_state, lambda, and lam0 if needed
+/*! \brief Fills fep_state and lambda if needed
  *
- * If FEP or simulated tempering is in use:
- *
- *    fills non-null lam0 with the initial lambda values, and
- *    on master rank fills fep_state and lambda.
+ * If FEP or simulated tempering is in use,  fills fep_state
+ * and lambda on master rank.
  *
  * Reports the initial lambda state to the log file. */
-void initialize_lambdas(FILE*               fplog,
-                        const t_inputrec&   ir,
-                        bool                isMaster,
-                        int*                fep_state,
-                        gmx::ArrayRef<real> lambda,
-                        double*             lam0);
+void initialize_lambdas(FILE* fplog, const t_inputrec& ir, bool isMaster, int* fep_state, gmx::ArrayRef<real> lambda);
 
 #endif