modifying the code
Hi
In the EXECS folder, there are .exe files such as: DualSPHysics_win64, GenCase_win64 , ...
As we know, the .exe files can not be modified. They can be ONLY executed.
My question is:
How can we view their code and modify them?
(For the Sphysics code, there exists NO .exe files in the EXECS folder and they should be made by compiling the source code)
Sorry, if my question seems silly.
regards,
In the EXECS folder, there are .exe files such as: DualSPHysics_win64, GenCase_win64 , ...
As we know, the .exe files can not be modified. They can be ONLY executed.
My question is:
How can we view their code and modify them?
(For the Sphysics code, there exists NO .exe files in the EXECS folder and they should be made by compiling the source code)
Sorry, if my question seems silly.
regards,
Comments
I have read the user guide, but I did not find the answer exactly. Would you mind please answer my question?
Thanks a lot!
There's a whole section in the DualSPHysics_v3.0_Guide.pdf document entitled "How to modify DualSPHysics for your application".
Please refer to this for further details, it defines the source code structure and where functionality is located in the c++ or CUDA code, this is why Alex has asked you to read the guide in this instance.
Regards,
Stephen
If the code is open-source, there is no need to that. The .exe files can be created by compiling the sources.
If you are referring to the non open-source elements of the DualSPHysics software suite (i..e the pre and post processing tools such as GenCase and MeasureTool) these are provided as pre-compiled binaries only. This is explained in the manual as well as details being provided on where they directly interact with the core solver (that is open source) and how you can replace their functionality with code of your own.
Regards,
Stephen