|
World Builder
1.1.0-pre
A geodynamic initial conditions generator
|
This contains the interface to the world builder for fortran. More...
Public Member Functions | |
| subroutine | create_world (cworld, file_name, has_output_dir, output_dir, random_number_seed) |
This contains the interface to the world builder for fortran.
Create an interface with the create world C function. This function creates an object of the world builder and returns a pointer to it. This pointer can then be used to call the temperature and composition functions. When done call the release world function to destroy the object. Please not that the basic type for the random number seed is a unsigned long, so it is advisable to not use negative numbers if you want to reproduce the same result as other codes.
Definition at line 33 of file wrapper_fortran.f90.
| subroutine worldbuilder::create_world::create_world | ( | type(c_ptr), intent(out) | cworld, |
| character(kind=c_char,len=1), intent(in) | file_name, | ||
| logical(kind=c_bool), intent(in) | has_output_dir, | ||
| character(kind=c_char,len=1), intent(in) | output_dir, | ||
| integer(c_long), intent(in), value | random_number_seed | ||
| ) |
Definition at line 34 of file wrapper_fortran.f90.