mathcomp.assemble.discontinuousgalerkin
Class TimeDependentExample2
java.lang.Object
mathcomp.monitor.DefaultReportable
mathcomp.monitor.DefaultAlgorithm
mathcomp.assemble.Assembler
mathcomp.assemble.discontinuousgalerkin.DGAssembler
mathcomp.assemble.discontinuousgalerkin.TimeIndependentAssembler
mathcomp.assemble.discontinuousgalerkin.TimeDependentAssembler
mathcomp.assemble.discontinuousgalerkin.TimeDependentExample2
- All Implemented Interfaces:
- java.lang.Runnable, Algorithm, Reportable
public class TimeDependentExample2
- extends TimeDependentAssembler
Method Summary |
double |
evalG(Node n,
double time)
computes the value of the right hand side coefficient function of the convection-diffusion problem. |
double |
evalU0(Node n)
Computes the initial value of the convection-diffusion problem at node n |
double |
evalUd(Node n,
double time)
Computes the value of the time dependent Dirichlet data in the point (n, time) of the convection-diffusion problem. |
java.lang.String |
toString()
Set the name of your assembler by overwriting this method in your
assembler class. |
Methods inherited from class mathcomp.assemble.discontinuousgalerkin.TimeDependentAssembler |
adaptiveLimiter, assembleBoundaryEdge, assembleGlobal, assembleInnerEdge, computeLimiter0, evalDf, evalF, fluxGodunov, fluxLaxFriedrichs, fluxOsher, fluxUpwind, getDeltaT, getTimeEnd, initialize, limiter, meanValueLimiter, numericalFlux, setCurrentTime, setVectorPiU, setVectorU |
Methods inherited from class mathcomp.assemble.Assembler |
addDirichletNodes, calcDirichletBoundary, createSurfaces, evalApproxGradient, evalExactGradient, getDof, getElementMatrix, getEpsilon, getExactPartialX, getExactPartialY, getGrid, getInfoUrl, getM, getPreferredGridFileName, getSolScale, getY, report, run, setEpsilon, setGrid, setM, setTauIndex, setY |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TimeDependentExample2
public TimeDependentExample2()
evalG
public double evalG(Node n,
double time)
- Description copied from class:
DGAssembler
- computes the value of the right hand side coefficient function of the convection-diffusion problem.
- Specified by:
evalG
in class DGAssembler
evalUd
public double evalUd(Node n,
double time)
- Description copied from class:
DGAssembler
- Computes the value of the time dependent Dirichlet data in the point (n, time) of the convection-diffusion problem.
- Specified by:
evalUd
in class DGAssembler
evalU0
public double evalU0(Node n)
- Description copied from class:
TimeDependentAssembler
- Computes the initial value of the convection-diffusion problem at node n
- Specified by:
evalU0
in class TimeDependentAssembler
toString
public java.lang.String toString()
- Description copied from class:
Assembler
- Set the name of your assembler by overwriting this method in your
assembler class.
- Overrides:
toString
in class TimeDependentAssembler
- Returns:
- the name of the assembler