[770c98]: / Application / Beta / IndexFinger_JohnWu / Model / RunApplication.any

Download this file

24 lines (19 with data), 1.1 kB

 // Switch to define an automatic save of results to the Output folder
#ifndef AutoSaveOption 
#define AutoSaveOption 0
#endif    

/**Execute this operation to run the model in the intended operation sequence.  
It is also possible to run operations seperately, by manual selections in the operation tree*/
AnyOperationSequence RunApplication = {
  
  /**This operation calibrates the muscles in the model if these are of the type AnyMuscleModel3E.
  This will just be an empty operation if the model is using a muscle type that does not require calibration.*/
  AnyOperation &CalibrationAnal = Main.Calibration.TendonLengthAdjustment;  
  
  ///This operation is the inverse dynamic analysis
  AnyOperation &InvAnal=Main.Study.InverseDynamics;
  
  #if AutoSaveOption 
  /// This operation saves the output of the study to an h5 file in the Output folder
  AnyOperationMacro save = {
    MacroStr={ "classoperation Main.Study.Output " + strquote("Save data") + " --file="+ "Output/" + ANYBODY_NAME_MAINFILE + ".anydata.h5 " + "--type=Deep"};
  };
  #endif
};