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 | |
string | ENCODING_ASCII = "ASCII" |
string | ENCODING_HDF5 = "HDF5" |
dictionary | FreeCAD_Group_Dimensions |
dictionary | FreeCAD_to_Fenics_XDMF_dict |
def feminout.writeFenicsXDMF.numpy_array_to_str | ( | npa | ) |
def feminout.writeFenicsXDMF.points_to_numpy | ( | pts, | |
dim = 3 |
|||
) |
Referenced by feminout.writeFenicsXDMF.write_fenics_mesh_points_xdmf().
def feminout.writeFenicsXDMF.tuples_to_numpy | ( | tpls, | |
numbers_per_line | |||
) |
Referenced by feminout.writeFenicsXDMF.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().
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().
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().
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().
string feminout.writeFenicsXDMF.ENCODING_ASCII = "ASCII" |
string feminout.writeFenicsXDMF.ENCODING_HDF5 = "HDF5" |
dictionary feminout.writeFenicsXDMF.FreeCAD_Group_Dimensions |
dictionary feminout.writeFenicsXDMF.FreeCAD_to_Fenics_XDMF_dict |