Functions | |
def | numpy_array_to_str (npa) |
def | points_to_numpy (pts, dim=3) |
def | tuples_to_numpy (tpls, numbers_per_line) |
def | write_fenics_mesh_codim_xdmf (fem_mesh_obj, topologynode, nodes_dict, codim=0, encoding=ENCODING_ASCII) |
def | write_fenics_mesh_points_xdmf (fem_mesh_obj, geometrynode, encoding=ENCODING_ASCII) |
def | write_fenics_mesh_scalar_cellfunctions (name, cell_array, attributenode, encoding=ENCODING_ASCII) |
def | write_fenics_mesh_xdmf (fem_mesh_obj, outputfile, group_values_dict={}, encoding=ENCODING_ASCII) |
Variables | |
ENCODING_ASCII | |
ENCODING_HDF5 | |
FreeCAD_Group_Dimensions | |
FreeCAD_to_Fenics_XDMF_dict | |
Function Documentation
◆ numpy_array_to_str()
def feminout.writeFenicsXDMF.numpy_array_to_str | ( | npa | ) |
◆ points_to_numpy()
def feminout.writeFenicsXDMF.points_to_numpy | ( | pts, | |
dim = 3 |
|||
) |
Referenced by feminout.writeFenicsXDMF.write_fenics_mesh_points_xdmf().
◆ tuples_to_numpy()
def feminout.writeFenicsXDMF.tuples_to_numpy | ( | tpls, | |
numbers_per_line | |||
) |
Referenced by feminout.writeFenicsXDMF.write_fenics_mesh_codim_xdmf().
◆ write_fenics_mesh_codim_xdmf()
def feminout.writeFenicsXDMF.write_fenics_mesh_codim_xdmf | ( | fem_mesh_obj, | |
topologynode, | |||
nodes_dict, | |||
codim = 0 , |
|||
encoding = ENCODING_ASCII |
|||
) |
References feminout.writeFenicsXDMF.numpy_array_to_str(), and feminout.writeFenicsXDMF.tuples_to_numpy().
Referenced by feminout.writeFenicsXDMF.write_fenics_mesh_xdmf().
◆ write_fenics_mesh_points_xdmf()
def feminout.writeFenicsXDMF.write_fenics_mesh_points_xdmf | ( | fem_mesh_obj, | |
geometrynode, | |||
encoding = ENCODING_ASCII |
|||
) |
Writes either into hdf5 file or into open mesh file
References feminout.writeFenicsXDMF.numpy_array_to_str(), and feminout.writeFenicsXDMF.points_to_numpy().
Referenced by feminout.writeFenicsXDMF.write_fenics_mesh_xdmf().
◆ write_fenics_mesh_scalar_cellfunctions()
def feminout.writeFenicsXDMF.write_fenics_mesh_scalar_cellfunctions | ( | name, | |
cell_array, | |||
attributenode, | |||
encoding = ENCODING_ASCII |
|||
) |
References feminout.writeFenicsXDMF.numpy_array_to_str().
Referenced by feminout.writeFenicsXDMF.write_fenics_mesh_xdmf().
◆ write_fenics_mesh_xdmf()
def feminout.writeFenicsXDMF.write_fenics_mesh_xdmf | ( | fem_mesh_obj, | |
outputfile, | |||
group_values_dict = {} , |
|||
encoding = ENCODING_ASCII |
|||
) |
For the export of xdmf.
References feminout.writeFenicsXDMF.write_fenics_mesh_codim_xdmf(), feminout.writeFenicsXDMF.write_fenics_mesh_points_xdmf(), and feminout.writeFenicsXDMF.write_fenics_mesh_scalar_cellfunctions().
Variable Documentation
◆ ENCODING_ASCII
feminout.writeFenicsXDMF.ENCODING_ASCII |
◆ ENCODING_HDF5
feminout.writeFenicsXDMF.ENCODING_HDF5 |
◆ FreeCAD_Group_Dimensions
feminout.writeFenicsXDMF.FreeCAD_Group_Dimensions |
◆ FreeCAD_to_Fenics_XDMF_dict
feminout.writeFenicsXDMF.FreeCAD_to_Fenics_XDMF_dict |