get3DP1_input - set up to read a 3D tetrahedral mesh.
Calling sequence:
get3DP1_input(params_list);
Parameters:
params_list - A list of scalar input parameters.
Synopsis:
- Generates the code to read 3D tetrahedral meshes, as created for instance by mk3DP1_cube and mk3DP1_bcond. When the solver is run it expects to find a file called mesh.scratch containing the mesh, and a file called bcond.scratch containing boundary conditions.
- get3DP1_input also generates code to read the scalar parameters that are specified in params_list from standard input. get3DP1_input creates a file called indata_sample in the work directory, which can be used as a template for a file specifying all input parameters. After editing indata_sample , the parameter values are conveniently passed to the solver by the command a.out < indata_sample.
- This is included as a demonstration of the 3D element. A coupling to a serious 3D mesh generator is still missing.
Examples:
> # set up to read input data: copies rdinpt.f to ./source;
> get3DP1_input(params_list);
rdinpt.f
rdpara.f
indata_sample