25 lines (19 with data), 1.1 kB
// Switch to define an automatic save of results to the Output folder
#ifndef AutoSaveOption
#define AutoSaveOption 1
#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.HumanModel.Calibration.CalibrationSequence;
///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") + " --type=Deep" + " --file="+ strquote(ANYBODY_PATH_MAINFILEDIR + "/Output/" + ANYBODY_NAME_MAINFILE + ".anydata.h5")};
};
#endif
};