Module CompAero.types

This module defines the basic types (Enumerations) for the module

Expand source code
"""
This module defines the basic types (Enumerations) for the module
"""
from enum import Enum


class FlowState(Enum):
    """Enum that defines wether a flow is sub / super sonic"""

    SUB_SONIC = "SUB_SONIC"
    SUPER_SONIC = "SUPER_SONIC"


class ShockType(Enum):
    """Enum that defines wether a shock is strong or weak. (For oblique shocks)"""

    WEAK = "WEAK"
    STRONG = "STRONG"

Classes

class FlowState (*args, **kwds)

Enum that defines wether a flow is sub / super sonic

Expand source code
class FlowState(Enum):
    """Enum that defines wether a flow is sub / super sonic"""

    SUB_SONIC = "SUB_SONIC"
    SUPER_SONIC = "SUPER_SONIC"

Ancestors

  • enum.Enum

Class variables

var SUB_SONIC
var SUPER_SONIC
class ShockType (*args, **kwds)

Enum that defines wether a shock is strong or weak. (For oblique shocks)

Expand source code
class ShockType(Enum):
    """Enum that defines wether a shock is strong or weak. (For oblique shocks)"""

    WEAK = "WEAK"
    STRONG = "STRONG"

Ancestors

  • enum.Enum

Class variables

var STRONG
var WEAK