Documentation
¶
Index ¶
- func AddAnalyticDWave(chart *chart2d.Chart2D, colorMap *utils2.ColorMap, X utils.Matrix, ...)
- func AddAnalyticSod(chart *chart2d.Chart2D, colorMap *utils2.ColorMap, timeT float64) (iRho float64)
- func DWaveCalc(X utils.Matrix, timeT float64) (x, rho []float64)
- type BC_TYPE
- type CaseType
- type Euler
- func (c *Euler) AveFlux(Rho, RhoU, Ener, RhoF, RhoUF, EnerF utils.Matrix, vmapM, vmapP utils.Index) (fRho, fRhoU, fEner utils.Matrix)
- func (c *Euler) CalculateDT(xmin, Time float64) (dt float64)
- func (c *Euler) CopyBoundary(U utils.Matrix)
- func (c *Euler) InitializeDWave()
- func (c *Euler) InitializeFS()
- func (c *Euler) InitializeSOD()
- func (c *Euler) InterpolateBoundaries(U utils.Matrix) (U2 utils.Matrix)
- func (c *Euler) LaxFlux(Rho, RhoU, Ener, RhoF, RhoUF, EnerF utils.Matrix, vmapM, vmapP utils.Index) (fRho, fRhoU, fEner utils.Matrix)
- func (c *Euler) MapSolutionSubset()
- func (c *Euler) PeriodicBC_DFR(Rho, RhoU, Ener, RhoF, RhoUF, EnerF utils.Matrix, vmapI, vmapO utils.Index, ...)
- func (c *Euler) Plot(timeT float64, showGraph bool, graphDelay []time.Duration) (iRho float64)
- func (c *Euler) RHS_DFR(Rhop, RhoUp, Enerp *utils.Matrix) (rhsRho, rhsRhoU, rhsEner utils.Matrix)
- func (c *Euler) RHS_GK(Rhop, RhoUp, Enerp *utils.Matrix) (rhsRho, rhsRhoU, rhsEner utils.Matrix)
- func (c *Euler) RiemannBC(Rho, RhoU, Ener, RhoF, RhoUF, EnerF utils.Matrix, ...)
- func (c *Euler) RiemannBC_DFR(Rho, RhoU, Ener, RhoF, RhoUF, EnerF utils.Matrix, ...)
- func (c *Euler) RoeFlux(Rho, RhoU, Ener, RhoF, RhoUF, EnerF utils.Matrix, vmapM, vmapP utils.Index) (fRho, fRhoU, fEner utils.Matrix)
- func (c *Euler) Run(showGraph bool, graphDelay ...time.Duration)
- type FieldState
- type ModelType
- type State
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddAnalyticDWave ¶
func AddAnalyticSod ¶
Types ¶
type Euler ¶
type Euler struct { // Input parameters CFL, FinalTime float64 El, El_S *DG1D.Elements1D RHSOnce sync.Once State *FieldState Rho, RhoU, Ener utils.Matrix In, Out *State Case CaseType FluxRanger utils.R2 FluxSubset utils.Index LeftI, RightI utils.Matrix // Interpolating polynomials for left and right edges within solution points element // contains filtered or unexported fields }
func (*Euler) CalculateDT ¶
func (*Euler) CopyBoundary ¶
func (*Euler) InitializeDWave ¶
func (c *Euler) InitializeDWave()
func (*Euler) InitializeFS ¶
func (c *Euler) InitializeFS()
func (*Euler) InitializeSOD ¶
func (c *Euler) InitializeSOD()
func (*Euler) InterpolateBoundaries ¶
func (*Euler) MapSolutionSubset ¶
func (c *Euler) MapSolutionSubset()
func (*Euler) PeriodicBC_DFR ¶
func (*Euler) RiemannBC_DFR ¶
type FieldState ¶
func NewFieldState ¶
func NewFieldState() (fs *FieldState)
func (*FieldState) Print ¶
func (fs *FieldState) Print()
Click to show internal directories.
Click to hide internal directories.