ogstools.msh2vtu package#

ogstools.msh2vtu.my_remove_orphaned_nodes(my_mesh)[source]#

Auxiliary function to remove points not belonging to any cell

Parameters:

my_mesh (Mesh) –

ogstools.msh2vtu.print_info(mesh)[source]#
Parameters:

mesh (Mesh) –

ogstools.msh2vtu.find_cells_at_nodes(cells, node_count, cell_start_index)[source]#
ogstools.msh2vtu.find_connected_domain_cells(boundary_cells_values, domain_cells_at_node)[source]#
Return type:

tuple[ndarray, ndarray]

ogstools.msh2vtu.msh2vtu(input_filename, output_path=Path(), output_prefix='', dim=0, delz=False, swapxy=False, rdcd=True, ogs=True, ascii=False, log_level='DEBUG')[source]#
Parameters:
  • input_filename (Path) –

  • output_path (Path) –

  • output_prefix (str) –

  • dim (int) –

  • delz (bool) –

  • swapxy (bool) –

  • rdcd (bool) –

  • ogs (bool) –

  • ascii (bool) –

  • log_level (int | str) –

Subpackages#