[CIG-SHORT] How does Pylith code construct?
knepley at rice.edu
Mon Jan 14 23:13:23 PST 2019
On Mon, Jan 14, 2019 at 7:00 PM tu xiang <tuxiang2016 at outlook.com> wrote:
> Dear Charles
> I plan to add some code to Pylith. I read some of the code, but I am
> confused. Because I cannot find the main function. Do you know where is the
> main function?
PyLith is a Python application. Therefore the main() in the Python
> How does Pylith construct? Do you know how to debug the code?
You can use the Python debugger, unless you want to debug C. Then I just
use gdb, or run with --petsc.start_in_debugger
> Are there any manual to guide me to read and add code?
We have some example for adding structured modules, like Materials.
> Best regards,
> CIG-SHORT has MOVED to our new forum. Please
> head to https://community.geodynamics.org.
> This mailing list will be disabled at the end of
> January 2019.
> CIG-SHORT mailing list
> CIG-SHORT at geodynamics.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the CIG-SHORT