feminout.writeFenicsXDMF Namespace Reference

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()

◆ points_to_numpy()

def feminout.writeFenicsXDMF.points_to_numpy (   pts,
  dim = 3 
)

◆ tuples_to_numpy()

def feminout.writeFenicsXDMF.tuples_to_numpy (   tpls,
  numbers_per_line 
)

◆ write_fenics_mesh_codim_xdmf()

def feminout.writeFenicsXDMF.write_fenics_mesh_codim_xdmf (   fem_mesh_obj,
  topologynode,
  nodes_dict,
  codim = 0,
  encoding = ENCODING_ASCII 
)

◆ write_fenics_mesh_points_xdmf()

def feminout.writeFenicsXDMF.write_fenics_mesh_points_xdmf (   fem_mesh_obj,
  geometrynode,
  encoding = ENCODING_ASCII 
)

◆ write_fenics_mesh_scalar_cellfunctions()

def feminout.writeFenicsXDMF.write_fenics_mesh_scalar_cellfunctions (   name,
  cell_array,
  attributenode,
  encoding = ENCODING_ASCII 
)

◆ write_fenics_mesh_xdmf()

def feminout.writeFenicsXDMF.write_fenics_mesh_xdmf (   fem_mesh_obj,
  outputfile,
  group_values_dict = {},
  encoding = ENCODING_ASCII 
)

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