mathcomp.assemble.discontinuousgalerkin
Class IniL2Interpolation

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.IniL2Interpolation
All Implemented Interfaces:
java.lang.Runnable, Algorithm, Reportable

public class IniL2Interpolation
extends TimeIndependentAssembler


Field Summary
 
Fields inherited from class mathcomp.assemble.Assembler
dirichletBoundaryValues, solScale
 
Constructor Summary
IniL2Interpolation(TimeDependentAssembler ass)
           
 
Method Summary
 double evalExactSolution(Node n)
          For error calculations we need to know the exact solution of a problem.
 double evalG(Node n, double time)
          computes the value of the right hand side coefficient function of the convection-diffusion problem.
 double evalInitial(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.
 
Methods inherited from class mathcomp.assemble.discontinuousgalerkin.TimeIndependentAssembler
arrayMult, assembleGlobal, toString
 
Methods inherited from class mathcomp.assemble.discontinuousgalerkin.DGAssembler
createDof, createSurfaces, evalApproxSolution, evalBasisFuncGradOnRef, evalBasisFuncOnRef, 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

IniL2Interpolation

public IniL2Interpolation(TimeDependentAssembler ass)
Method Detail

evalInitial

public double evalInitial(Node n)

evalExactSolution

public double evalExactSolution(Node n)
Description copied from class: Assembler
For error calculations we need to know the exact solution of a problem. If we don't know that, return 0.0 for every node n.

Overrides:
evalExactSolution in class DGAssembler
Parameters:
n - node where the exact solution should be evaluated

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

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