getFemLabInputP2P1 - Generate code to use meshes from FEMLAB with P2/P1 mixed elements.
Calling sequence:
getFemLabInputP2P1(params_list):
Parameters
params_list - A list of scalar input parameters.
Synopsis:
- This modifies the mesh information for 2D triangle meshes from FEMLAB 1.1 so that it can be used with the basefunction file 2DP2P1_gsq_bsf. The function is the same as getFemLabInput otherwise.
- Generates the code to read meshes generated by FEMLAB 1.1. When the solver is run it expects to find a file called area.scratch containing the mesh.
- getFemLabInput also generates code to read the scalar parameters that are specified in params_list from standard input. getFemLabInput writes 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.
Examples:
> # get files to read input from femlab;
> getFemLabInputP2P1(params_list)
rdinpt.f
rdpara.f
indata_sample