Forum

Main program of d-hydro and start of subroutine trisim

Yuanyi Li, modified 2 Years ago.

Main program of d-hydro and start of subroutine trisim

Youngling Post: 1 Join Date: 9/10/19 Recent Posts
Hi, everyone
I am try to understand the source code of the Delft3D. I went through the source code and found main program in d-hydro.cpp is the start of the delft3d-flow.  I understand that the class DeltaresHydro is a facility to read the file input and the subroutine trisim in trisim.f90 is called to simulate a case. My question is how the main program call the trisim. In main program, a member of DeltaresHydro DH calls its member function Run. But the Run call itself in its deinfition in line 387. I still cannot find out how trisim is called in the code. My tag of the source code is 66366, and I am trying in parallel mode.