enum

package
v0.0.0-...-a63885c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 25, 2014 License: BSD-3-Clause Imports: 1 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Unknown = errors.New("unknown enum string")

Functions

This section is empty.

Types

type Adapt

type Adapt uint16
const (
	Computable Adapt = iota
	ComputableRobust
	Full
	FullAdjoint
	FullFlow
	FullLinear
	GradAdjoint
	GradFlow
	GradFlowAdj
	NoAdapt
	Remaining
	Robust
	Smoothing
	SupersonicShock
	Twophase
	Wake
)

func (Adapt) ConfigString

func (e Adapt) ConfigString() string

func (*Adapt) FromConfigString

func (e *Adapt) FromConfigString(str []string) error

func (Adapt) String

func (e Adapt) String() string

type AxisOrientation

type AxisOrientation uint16
const (
	XAxis AxisOrientation = iota
	YAxis
	ZAxis
)

func (AxisOrientation) ConfigString

func (e AxisOrientation) ConfigString() string

func (*AxisOrientation) FromConfigString

func (e *AxisOrientation) FromConfigString(str []string) error

func (AxisOrientation) String

func (e AxisOrientation) String() string

type Centered

type Centered uint16
const (
	Jst Centered = iota
	JstKe
	Lax
	NoCentered
)

func (Centered) ConfigString

func (e Centered) ConfigString() string

func (*Centered) FromConfigString

func (e *Centered) FromConfigString(str []string) error

func (Centered) String

func (e Centered) String() string

type ContinuousEqns

type ContinuousEqns uint16
const (
	EulerEqns ContinuousEqns = iota
	NavierStokesEqns
)

func (ContinuousEqns) ConfigString

func (e ContinuousEqns) ConfigString() string

func (*ContinuousEqns) FromConfigString

func (e *ContinuousEqns) FromConfigString(str []string) error

func (ContinuousEqns) String

func (e ContinuousEqns) String() string

type ConvergeCrit

type ConvergeCrit uint16
const (
	Cauchy ConvergeCrit = iota
	Residual
)

func (ConvergeCrit) ConfigString

func (e ConvergeCrit) ConfigString() string

func (*ConvergeCrit) FromConfigString

func (e *ConvergeCrit) FromConfigString(str []string) error

func (ConvergeCrit) String

func (e ConvergeCrit) String() string

type DeformStiffness

type DeformStiffness uint16
const (
	ConstantStiffness DeformStiffness = iota
	InverseVolume
	WallDistance
)

func (DeformStiffness) ConfigString

func (e DeformStiffness) ConfigString() string

func (*DeformStiffness) FromConfigString

func (e *DeformStiffness) FromConfigString(str []string) error

func (DeformStiffness) String

func (e DeformStiffness) String() string

type DiscreteEqns

type DiscreteEqns uint16
const (
	NoneEqns DiscreteEqns = iota
	SaEqns
	SstEqns
)

func (DiscreteEqns) ConfigString

func (e DiscreteEqns) ConfigString() string

func (*DiscreteEqns) FromConfigString

func (e *DiscreteEqns) FromConfigString(str []string) error

func (DiscreteEqns) String

func (e DiscreteEqns) String() string

type FlowGradient

type FlowGradient uint16
const (
	GreenGauss FlowGradient = iota
	WeightedLeastSquares
)

func (FlowGradient) ConfigString

func (e FlowGradient) ConfigString() string

func (*FlowGradient) FromConfigString

func (e *FlowGradient) FromConfigString(str []string) error

func (FlowGradient) String

func (e FlowGradient) String() string

type Gasmodel

type Gasmodel uint16
const (
	Air21 Gasmodel = iota
	Air5
	Air7
	Argon
	ArgonSid
	N2
	NoModel
	O2
	Onespecies
)

func (Gasmodel) ConfigString

func (e Gasmodel) ConfigString() string

func (*Gasmodel) FromConfigString

func (e *Gasmodel) FromConfigString(str []string) error

func (Gasmodel) String

func (e Gasmodel) String() string

type GeoAnalytic

type GeoAnalytic uint16
const (
	Biparabolic GeoAnalytic = iota
	Cylinder
	Naca0012Airfoil
	Naca4412Airfoil
	NoGeoAnalytic
)

func (GeoAnalytic) ConfigString

func (e GeoAnalytic) ConfigString() string

func (*GeoAnalytic) FromConfigString

func (e *GeoAnalytic) FromConfigString(str []string) error

func (GeoAnalytic) String

func (e GeoAnalytic) String() string

type GeometryMode

type GeometryMode uint16
const (
	Function GeometryMode = iota
	Gradient
)

func (GeometryMode) ConfigString

func (e GeometryMode) ConfigString() string

func (*GeometryMode) FromConfigString

func (e *GeometryMode) FromConfigString(str []string) error

func (GeometryMode) String

func (e GeometryMode) String() string

type Gridmovement

type Gridmovement uint16
const (
	Aeroelastic Gridmovement = iota
	AeroelasticRigidMotion
	Deforming
	Elasticity
	External
	ExternalRotation
	FluidStructure
	MovingWall
	NoMovement
	RigidMotion
	RotatingFrame
)

func (Gridmovement) ConfigString

func (e Gridmovement) ConfigString() string

func (*Gridmovement) FromConfigString

func (e *Gridmovement) FromConfigString(str []string) error

func (Gridmovement) String

func (e Gridmovement) String() string

type GustDir

type GustDir uint16
const (
	XDir GustDir = iota
	YDir
)

func (GustDir) ConfigString

func (e GustDir) ConfigString() string

func (*GustDir) FromConfigString

func (e *GustDir) FromConfigString(str []string) error

func (GustDir) String

func (e GustDir) String() string

type GustType

type GustType uint16
const (
	Eog GustType = iota
	NoGust
	OneMCosine
	Sine
	TopHat
	Vortex
)

func (GustType) ConfigString

func (e GustType) ConfigString() string

func (*GustType) FromConfigString

func (e *GustType) FromConfigString(str []string) error

func (GustType) String

func (e GustType) String() string

type InletType

type InletType uint16
const (
	MassFlow InletType = iota
	TotalConditions
)

func (InletType) ConfigString

func (e InletType) ConfigString() string

func (*InletType) FromConfigString

func (e *InletType) FromConfigString(str []string) error

func (InletType) String

func (e InletType) String() string

type Input

type Input uint16
const (
	Cgns Input = iota
	NetcdfAscii
	Su2
)

func (Input) ConfigString

func (e Input) ConfigString() string

func (*Input) FromConfigString

func (e *Input) FromConfigString(str []string) error

func (Input) String

func (e Input) String() string

type Limiter

type Limiter uint16
const (
	Minmod Limiter = iota
	SharpEdges
	Venkatakrishnan
)

func (Limiter) ConfigString

func (e Limiter) ConfigString() string

func (*Limiter) FromConfigString

func (e *Limiter) FromConfigString(str []string) error

func (Limiter) String

func (e Limiter) String() string

type LinearObj

type LinearObj uint16
const (
	DeltaDragCoefficient LinearObj = iota
	DeltaLiftCoefficient
)

func (LinearObj) ConfigString

func (e LinearObj) ConfigString() string

func (*LinearObj) FromConfigString

func (e *LinearObj) FromConfigString(str []string) error

func (LinearObj) String

func (e LinearObj) String() string

type LinearSolver

type LinearSolver uint16
const (
	Bcgstab LinearSolver = iota
	ConjugateGradient
	Fgmres
	Newton
	QuasiNewton
	Rfgmres
	SteepestDescent
)

func (LinearSolver) ConfigString

func (e LinearSolver) ConfigString() string

func (*LinearSolver) FromConfigString

func (e *LinearSolver) FromConfigString(str []string) error

func (LinearSolver) String

func (e LinearSolver) String() string

type LinearSolverPrec

type LinearSolverPrec uint16
const (
	Jacobi LinearSolverPrec = iota
	Linelet
	LuSgs
)

func (LinearSolverPrec) ConfigString

func (e LinearSolverPrec) ConfigString() string

func (*LinearSolverPrec) FromConfigString

func (e *LinearSolverPrec) FromConfigString(str []string) error

func (LinearSolverPrec) String

func (e LinearSolverPrec) String() string

type MathProblem

type MathProblem uint16
const (
	AdjointProblem MathProblem = iota
	DirectProblem
	LinearizedProblem
)

func (MathProblem) ConfigString

func (e MathProblem) ConfigString() string

func (*MathProblem) FromConfigString

func (e *MathProblem) FromConfigString(str []string) error

func (MathProblem) String

func (e MathProblem) String() string

type Objective

type Objective uint16
const (
	DragCoefficient Objective = iota
	Efficiency
	EquivalentArea
	FigureOfMerit
	ForceXCoefficient
	ForceYCoefficient
	ForceZCoefficient
	FreeSurface
	InverseDesignHeatflux
	InverseDesignPressure
	LiftCoefficient
	MaxThickSec1
	MaxThickSec2
	MaxThickSec3
	MaxThickSec4
	MaxThickSec5
	MaxThickness
	MaximumHeatflux
	MinThickness
	MomentXCoefficient
	MomentYCoefficient
	MomentZCoefficient
	NearfieldPressure
	SideforceCoefficient
	ThrustCoefficient
	TorqueCoefficient
	TotalHeatflux
)

func (Objective) ConfigString

func (e Objective) ConfigString() string

func (*Objective) FromConfigString

func (e *Objective) FromConfigString(str []string) error

func (Objective) String

func (e Objective) String() string

type Output

type Output uint16
const (
	CgnsSol Output = iota
	Csv
	Excel
	Paraview
	Tecplot
	TecplotBinary
)

func (Output) ConfigString

func (e Output) ConfigString() string

func (*Output) FromConfigString

func (e *Output) FromConfigString(str []string) error

func (Output) String

func (e Output) String() string

type OutputVars

type OutputVars uint16
const (
	Density OutputVars = iota
	EddyVisc
	LamVisc
	Mach
	Pressure
	Temperature
	VelX
	VelY
	VelZ
)

func (OutputVars) ConfigString

func (e OutputVars) ConfigString() string

func (*OutputVars) FromConfigString

func (e *OutputVars) FromConfigString(str []string) error

func (OutputVars) String

func (e OutputVars) String() string

type Param

type Param uint16
const (
	Airfoil Param = iota
	CosineBump
	Displacement
	FfdCamber
	FfdCamber2d
	FfdControlPoint
	FfdControlPoint2d
	FfdDihedralAngle
	FfdRotation
	FfdSetting
	FfdThickness
	FfdThickness2d
	FfdTwistAngle
	Fourier
	HicksHenne
	Naca4digits
	Obstacle
	Parabolic
	Rotation
	Spherical
	Stretch
	SurfaceFile
)

func (Param) ConfigString

func (e Param) ConfigString() string

func (*Param) FromConfigString

func (e *Param) FromConfigString(str []string) error

func (Param) String

func (e Param) String() string

type Regime

type Regime uint16
const (
	Compressible Regime = iota
	Freesurface
	Incompressible
)

func (Regime) ConfigString

func (e Regime) ConfigString() string

func (*Regime) FromConfigString

func (e *Regime) FromConfigString(str []string) error

func (Regime) String

func (e Regime) String() string

type Sens

type Sens uint16
const (
	SensAoa Sens = iota
	SensAos
	SensGeometry
	SensMach
)

func (Sens) ConfigString

func (e Sens) ConfigString() string

func (*Sens) FromConfigString

func (e *Sens) FromConfigString(str []string) error

func (Sens) String

func (e Sens) String() string

type SensSmoothing

type SensSmoothing uint16
const (
	Bigrid SensSmoothing = iota
	NoSmooth
	Sobolev
)

func (SensSmoothing) ConfigString

func (e SensSmoothing) ConfigString() string

func (*SensSmoothing) FromConfigString

func (e *SensSmoothing) FromConfigString(str []string) error

func (SensSmoothing) String

func (e SensSmoothing) String() string

type Solver

type Solver uint16
const (
	AdjEuler Solver = iota
	AdjNavierStokes
	AdjRans
	AdjTne2Euler
	AdjTne2NavierStokes
	Euler
	FluidStructureEuler
	FluidStructureNavierStokes
	FluidStructureRans
	HeatEquation
	LinEuler
	LinNavierStokes
	LinearElasticity
	NavierStokes
	NoSolver
	PoissonEquation
	Rans
	TemplateSolver
	Tne2Euler
	Tne2NavierStokes
	WaveEquation
)

func (Solver) ConfigString

func (e Solver) ConfigString() string

func (*Solver) FromConfigString

func (e *Solver) FromConfigString(str []string) error

func (Solver) String

func (e Solver) String() string

type Source

type Source uint16
const (
	ChargeDist Source = iota
	NoSource
	PiecewiseConstant
	SourceTemplate
)

func (Source) ConfigString

func (e Source) ConfigString() string

func (*Source) FromConfigString

func (e *Source) FromConfigString(str []string) error

func (Source) String

func (e Source) String() string

type Sourcejac

type Sourcejac uint16
const (
	AutoDiff Sourcejac = iota
	FiniteDiff
	NoJacobian
)

func (Sourcejac) ConfigString

func (e Sourcejac) ConfigString() string

func (*Sourcejac) FromConfigString

func (e *Sourcejac) FromConfigString(str []string) error

func (Sourcejac) String

func (e Sourcejac) String() string

type Space

type Space uint16
const (
	NoConvective Space = iota
	SpaceCentered
	SpaceUpwind
)

func (Space) ConfigString

func (e Space) ConfigString() string

func (*Space) FromConfigString

func (e *Space) FromConfigString(str []string) error

func (Space) String

func (e Space) String() string

type SpatialOrder

type SpatialOrder uint16
const (
	FirstOrder SpatialOrder = iota
	SecondOrder
	SecondOrderLimiter
)

func (SpatialOrder) ConfigString

func (e SpatialOrder) ConfigString() string

func (*SpatialOrder) FromConfigString

func (e *SpatialOrder) FromConfigString(str []string) error

func (SpatialOrder) String

func (e SpatialOrder) String() string

type TimeInt

type TimeInt uint16
const (
	EulerExplicit TimeInt = iota
	EulerImplicit
	RungeKuttaExplicit
)

func (TimeInt) ConfigString

func (e TimeInt) ConfigString() string

func (*TimeInt) FromConfigString

func (e *TimeInt) FromConfigString(str []string) error

func (TimeInt) String

func (e TimeInt) String() string

type TransModel

type TransModel uint16
const (
	Lm TransModel = iota
	NoTransModel
)

func (TransModel) ConfigString

func (e TransModel) ConfigString() string

func (*TransModel) FromConfigString

func (e *TransModel) FromConfigString(str []string) error

func (TransModel) String

func (e TransModel) String() string

type TurbModel

type TurbModel uint16
const (
	Ml TurbModel = iota
	NoTurbModel
	Sa
	Sst
)

func (TurbModel) ConfigString

func (e TurbModel) ConfigString() string

func (*TurbModel) FromConfigString

func (e *TurbModel) FromConfigString(str []string) error

func (TurbModel) String

func (e TurbModel) String() string

type Unsteady

type Unsteady uint16
const (
	DtStepping1st Unsteady = iota
	DtStepping2nd
	RotationalFrame
	Steady
	TimeSpectral
	TimeStepping
)

func (Unsteady) ConfigString

func (e Unsteady) ConfigString() string

func (*Unsteady) FromConfigString

func (e *Unsteady) FromConfigString(str []string) error

func (Unsteady) String

func (e Unsteady) String() string

type Upwind

type Upwind uint16
const (
	Ausm Upwind = iota
	Ausmpwplus
	ConvectiveTemplate
	Cusp
	Hllc
	Msw
	NoUpwind
	Roe
	ScalarUpwind
	Sw
	Turkel
)

func (Upwind) ConfigString

func (e Upwind) ConfigString() string

func (*Upwind) FromConfigString

func (e *Upwind) FromConfigString(str []string) error

func (Upwind) String

func (e Upwind) String() string

type Viscous

type Viscous uint16
const (
	AvgGrad Viscous = iota
	AvgGradCorrected
	Galerkin
	NoViscous
)

func (Viscous) ConfigString

func (e Viscous) ConfigString() string

func (*Viscous) FromConfigString

func (e *Viscous) FromConfigString(str []string) error

func (Viscous) String

func (e Viscous) String() string

Directories

Path Synopsis
This file is autogenerated by github.com/btracey/su2tools/config/enum/autogen/genenum and is used to help parse the config options
This file is autogenerated by github.com/btracey/su2tools/config/enum/autogen/genenum and is used to help parse the config options

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL