Functions | |
def | readmesh |
def | bail |
def | initialise_file |
def | writeln |
def | stamp |
def | info |
def | writeucd |
Variables | |
string | VERSION = "0.2" |
def ngtoucd::bail | ( | message = "Sorry , |
||
I, | ||||
don, | ||||
t, | ||||
understand, | ||||
Bailing, | ||||
out | ||||
) |
A 'get-out' clause
Definition at line 133 of file ngtoucd.py.
def ngtoucd::info | ( | ) |
Output GPL details
Definition at line 163 of file ngtoucd.py.
def ngtoucd::initialise_file | ( | file | ) |
Attempt to remove the file first to avoid append issues
Definition at line 138 of file ngtoucd.py.
def ngtoucd::readmesh | ( | filename | ) |
This will read the NETGEN neutral mesh 'filename' and return points, tetrahedra and triangles
Definition at line 32 of file ngtoucd.py.
def ngtoucd::stamp | ( | ) |
Format a time and a date for stdout feedback
Definition at line 152 of file ngtoucd.py.
def ngtoucd::writeln | ( | line, | ||
file | ||||
) |
One-shot file line append; this keeps the code terse
Definition at line 146 of file ngtoucd.py.
def ngtoucd::writeucd | ( | ) |
Call readmesh to read the NETGEN mesh, then convert and write the UCD mesh
Definition at line 168 of file ngtoucd.py.
string ngtoucd::VERSION = "0.2" |
Definition at line 28 of file ngtoucd.py.