krakentools.meshes

Functions

Xmesh_from_file(fname)

Creates a new mesh from file containing the mesh data

create_mesh(source[, name])

rtype:

Mesh

get_mesh_float(source)

Gets the next float for the mesh based on data coming from a communicator or from a list of strings (e.g.

get_mesh_int(source)

Gets the next float for the mesh based on data coming from a communicator or from a list of strings (e.g.

is_same_mesh(mesh1, mesh2)

rtype:

bool

is_same_mesh_cart_cart(mesh1, mesh2)

rtype:

bool

is_same_mesh_cyl_cyl(mesh1, mesh2)

rtype:

bool

is_same_mesh_hex_hex(mesh1, mesh2)

rtype:

bool

is_same_mesh_list_list(mesh1, mesh2)

rtype:

bool

is_same_mesh_nested_nested(mesh1, mesh2)

rtype:

bool

mesh_from_file(fname)

Creates a new mesh from file containing the mesh data

Classes

CartesianMesh(source[, name])

CylindricalMesh(source[, name])

IrregularCartesianMesh(source[, name])

KrakenMeshTypes(value)

An enumeration.

ListMesh(source[, name])

Mesh(source[, name])

MixedNestedMesh(source[, name])

NestedMesh(source[, name])

RegularCartesianMesh(source[, name])

RegularHexagonalMesh(source[, name])

RegularHexagonalMeshX(source[, name])

RegularHexagonalMeshX120(source[, name])

RegularHexagonalMeshX60(source[, name])

RegularHexagonalMeshY(source[, name])

RegularHexagonalMeshY120(source[, name])

RegularHexagonalMeshY60(source[, name])