Visualization

class hedge.visualization.LegacyVtkVisualizer(discr)
__init__(discr)
add_data(vtkfile, scalars=[], vectors=[], scale_factor=1)
make_file(pathname, pcontext=None)
class hedge.visualization.VtkVisualizer(discr, pcontext=None, basename=None, compressor=None)
__init__(discr, pcontext=None, basename=None, compressor=None)
add_data(visf, variables=[], scalars=[], vectors=[], time=None, step=None, scale_factor=1)
close()
make_file(pathname)

An appropriate extension (including the dot) is automatically appended to pathname.

class hedge.visualization.SiloVisualizer(discr, pcontext=None)
__init__(discr, pcontext=None)
add_data(silo, variables=[], scalars=[], vectors=[], expressions=[], time=None, step=None, scale_factor=1)
close()
make_file(pathname)

This function returns either a pyvisfile.silo.SiloFile or a pyvisfile.silo.ParallelSiloFile, depending on the ParallelContext under which we are running

An extension of .silo is automatically appended to pathname.