pytheas.tools.femio

Tools for gmsh/getdp control and input/output.

pytheas.tools.femio.mesh_model(path_mesh, path_geo, mesh_format='msh2', dim=None, verbose=0, other_option='')[source]

Mesh the model using Gmsh

pytheas.tools.femio.postpro_commands(postop, path_pro, path_mesh, path_pos=None, verbose=0)[source]

Generate a command list for postprocessing by GetDP (see main.pro file in ./base folder for default available postprocessings, or to add your own)

Parameters
  • postop (str) – The name of the postoperation to perform.

  • path_pro (str) – Path to the .pro file

  • path_mesh (str) – Path to the .msh file

  • path_pos (str , optional) – Path to a file to be read by gmshread.

  • verbose (int) – verbosity level

  • to None. (Defaults) –

Returns

The list of strings to be oscommanded.

Return type

list