|
a |
|
b/Tools/Templates/Human Standing/Model/RunAppSequence.any |
|
|
1 |
// Switch to define an automatic save of results to the Output folder |
|
|
2 |
#ifndef AutoSaveOption |
|
|
3 |
#define AutoSaveOption 0 |
|
|
4 |
#endif |
|
|
5 |
|
|
|
6 |
/**Execute this operation to run the model in the intended operation sequence. |
|
|
7 |
It is also possible to run operations seperately, by manual selections in the operation tree*/ |
|
|
8 |
AnyOperationSequence RunApplication = { |
|
|
9 |
|
|
|
10 |
/*This operation calibrates the muscles in the model if these are of the type AnyMuscleModel3E. |
|
|
11 |
This will just be an empty operation if the model is using a muscle type that does not require calibration.*/ |
|
|
12 |
AnyOperation &CalibrationAnal = Main.HumanModel.Calibration.CalibrationSequence; |
|
|
13 |
|
|
|
14 |
///This operation is the inverse dynamic analysis |
|
|
15 |
AnyOperation &InvAnal=Main.Study.InverseDynamics; |
|
|
16 |
|
|
|
17 |
#if AutoSaveOption |
|
|
18 |
/// This operation saves the output of the study to an h5 file in the Output folder |
|
|
19 |
AnyOperationMacro save = { |
|
|
20 |
MacroStr={ "classoperation Main.Study.Output " + strquote("Save data") + " --type=Deep" + " --file="+ strquote(ANYBODY_PATH_OUTPUT + ANYBODY_NAME_MAINFILE + ".anydata.h5")}; |
|
|
21 |
}; |
|
|
22 |
#endif |
|
|
23 |
}; |
|
|
24 |
|