pyNastran/f06

This is the pyNastran.f06.rst file.

f06_writer Module

digraph inheritance866ae1c331 { bgcolor=transparent; rankdir=LR; size=""; "pyNastran.f06.f06_writer.F06Writer" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled"]; "pyNastran.op2.op2_interface.op2_f06_common.OP2_F06_Common" -> "pyNastran.f06.f06_writer.F06Writer" [arrowsize=0.5,style="setlinewidth(0.5)"]; "pyNastran.op2.op2_interface.op2_f06_common.OP2_F06_Common" [URL="../op2/op2_interface/pyNastran.op2.op2_interface.html#pyNastran.op2.op2_interface.op2_f06_common.OP2_F06_Common",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top"]; }
defines the F06Writer class and:
  • write_f06(…)

pyNastran.f06.f06_writer.check_element_node(obj)[source]
pyNastran.f06.f06_writer.get_all_results_string(all_results: list[str]) str[source]
pyNastran.f06.f06_writer.make_end(end_flag: bool = False, options: dict[str, str] | None = None) str[source]

creates the F06 footer

pyNastran.f06.f06_writer.make_f06_header() str[source]
pyNastran.f06.f06_writer.make_stamp(title: str | None, today: date | None = None, build: str | None = None) str[source]
pyNastran.f06.f06_writer.sorted_bulk_data_header() str[source]

creates the bulk data echo header

f06_formatting Module

pyNastran.f06.f06_formatting.get_key0(adict: dict)[source]

Gets the “first” key in a dictionary

The entry is kind of irrelevant.

pyNastran.f06.f06_formatting.get_key0_compare(adict: dict)[source]

Gets the “first” key in a dictionary

The entry is kind of irrelevant.

pyNastran.f06.f06_formatting.write_float_10e(val: float) str[source]
pyNastran.f06.f06_formatting.write_float_11e(val: float) str[source]

writes a Nastran formatted 11.4 float

pyNastran.f06.f06_formatting.write_float_12e(val: float) str[source]

writes a Nastran formatted 12.5 float

pyNastran.f06.f06_formatting.write_float_13e(val: float) str[source]

writes a Nastran formatted 13.6 float

pyNastran.f06.f06_formatting.write_float_13e_long(val: float) str[source]

writes a Nastran formatted 13.6 float

pyNastran.f06.f06_formatting.write_floats_10e(vals: list[float]) list[str][source]

writes a series of Nastran formatted 10.3 floats

pyNastran.f06.f06_formatting.write_floats_12e(vals: list[float]) list[str][source]

writes a series of Nastran formatted 12.5 floats

pyNastran.f06.f06_formatting.write_floats_12e_long(vals: list[float]) list[str][source]

writes a series of Nastran formatted 12.5 floats

pyNastran.f06.f06_formatting.write_floats_13e(vals: list[float]) list[str][source]

writes a series of Nastran formatted 13.6 floats

pyNastran.f06.f06_formatting.write_floats_13e_long(vals: list[float]) list[str][source]

writes a series of Nastran formatted 13.6 floats

pyNastran.f06.f06_formatting.write_floats_8p1e(vals: list[float]) list[str][source]

writes an 8.1E formatted number

pyNastran.f06.f06_formatting.write_floats_8p4f(vals: list[float]) list[str][source]

writes an 8.4F formatted number

pyNastran.f06.f06_formatting.write_imag_floats_13e(vals: list[float], is_mag_phase: bool) list[str][source]

errors Module

digraph inheritancec2db3c5781 { bgcolor=transparent; rankdir=LR; size=""; "pyNastran.f06.errors.FatalError" [URL="#pyNastran.f06.errors.FatalError",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top"]; }
exception pyNastran.f06.errors.FatalError[source]

Bases: RuntimeError