mathcomp.assemble.discontinuousgalerkin
Class TimeDependentExample2

java.lang.Object
  extended by mathcomp.monitor.DefaultReportable
      extended by mathcomp.monitor.DefaultAlgorithm
          extended by mathcomp.assemble.Assembler
              extended by mathcomp.assemble.discontinuousgalerkin.DGAssembler
                  extended by mathcomp.assemble.discontinuousgalerkin.TimeIndependentAssembler
                      extended by mathcomp.assemble.discontinuousgalerkin.TimeDependentAssembler
                          extended by mathcomp.assemble.discontinuousgalerkin.TimeDependentExample2
All Implemented Interfaces:
java.lang.Runnable, Algorithm, Reportable

public class TimeDependentExample2
extends TimeDependentAssembler


Field Summary
 
Fields inherited from class mathcomp.assemble.Assembler
dirichletBoundaryValues, solScale
 
Constructor Summary
TimeDependentExample2()
           
 
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.discontinuousgalerkin.TimeIndependentAssembler
arrayMult
 
Methods inherited from class mathcomp.assemble.discontinuousgalerkin.DGAssembler
createDof, createSurfaces, evalApproxSolution, evalBasisFuncGradOnRef, evalBasisFuncOnRef, evalExactSolution, evalF, getEdges, getErrorCalculator, iniQuadrature
 
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 mathcomp.monitor.DefaultAlgorithm
algoAbortIfNeeded, algoCancel, algoClear, algoCount, algoIncrement, algoMax, isAlgoCancel, setAlgoCount, setAlgoMax
 
Methods inherited from class mathcomp.monitor.DefaultReportable
getReport, setReport
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface mathcomp.monitor.Reportable
getReport, setReport
 

Constructor Detail

TimeDependentExample2

public TimeDependentExample2()
Method Detail

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