pogona.VectorFieldParser

class pogona.VectorFieldParser[source]

Bases: object

__init__()[source]

Methods

__init__()

parse_folder(folder, walls_patch_names[, ...])

param folder

point_distance_to_plane(position, face)

__init__()[source]
static parse_folder(folder: str, walls_patch_names: Set[str], dummy_boundary_points: pogona.vector_field_parser.DummyBoundaryPointsVariant = DummyBoundaryPointsVariant.NONE) pogona.vector_field.VectorField[source]
Parameters
  • folder

  • walls_patch_names – Which patches to consider as boundaries (typically does not include inlets and outlets).

  • dummy_boundary_points – ‘face-centers’, ‘face-points’, or ‘none’/None (default).

static point_distance_to_plane(position: numpy.ndarray, face: pogona.face.Face) float[source]