Add new parameter in the XML file
Hi all,
I have tried to add some new parameter into the Dualsph 4.0.
I added the code in the JSpaceCtes.h and .cpp. When running the model, I added 3 parameters into the *_Def.xml; However, in the *_out/*.xml file, these parameter only appear in casedef-constantsdef but not in execution-constants.
I may missed some other code, could you give me some help on that?
Regards,
Yi
I have tried to add some new parameter into the Dualsph 4.0.
I added the code in the JSpaceCtes.h and .cpp. When running the model, I added 3 parameters into the *_Def.xml; However, in the *_out/*.xml file, these parameter only appear in casedef-constantsdef but not in execution-constants.
I may missed some other code, could you give me some help on that?
Regards,
Yi
Comments
You can not modify GenCase, only DualSPHysics.
If you want to add new XML parameters you can only do that in execution-parameters and you have to modify all functions that read those XML tags in DualSPHysics. GenCase only copy paste all exeuction-parameters section to the output XML of GenCase that works as input of DualSPHysics.
Regards
Thank you very much. I'll try to add them in execution-parameters.