butterfly.version module

Versions and header.

class butterfly.version.Header[source]

Bases: object

Input files header.

Usage:
Header.header()
ToString()[source]

Overwrite .NET ToString method.

duplicate()[source]

Return a copy of this object.

static header(of_version='v1706+', butterfly_version='0.0.5')[source]

Retuen OpenFOAM file header.

class butterfly.version.Version[source]

Bases: object

Version class.

ToString()[source]

Overwrite .NET ToString method.

bf_ver = '0.0.5'
duplicate()[source]

Return a copy of this object.

is_using_docker_machine = True
last_updated = datetime.datetime(2017, 8, 24, 13, 40)
of_full_ver = 'v1706+'
of_ver = '4.0'