mathcomp.assemble.discontinuousgalerkin
Class TimeIndependentAssembler

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

public abstract class TimeIndependentAssembler
extends DGAssembler


Field Summary
 
Fields inherited from class mathcomp.assemble.Assembler
dirichletBoundaryValues, solScale
 
Constructor Summary
TimeIndependentAssembler()
           
 
Method Summary
 double arrayMult(double[] a1, double[] a2)
          used to compute de product of 2 arrays
 void assembleGlobal()
          The main assemble method generally called from outside.
 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.DGAssembler
createDof, createSurfaces, evalApproxSolution, evalBasisFuncGradOnRef, evalBasisFuncOnRef, evalExactSolution, evalF, evalG, evalUd, 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

TimeIndependentAssembler

public TimeIndependentAssembler()
Method Detail

assembleGlobal

public void assembleGlobal()
Description copied from class: Assembler
The main assemble method generally called from outside. It once calculates the boundary, the global DOFs and the Dirichlet values. Then Matrix m and right side Vector y are created. Finally an iteration over all elements calls assemble(Grid g, Triangle t, Matrix m) for each element.

Overrides:
assembleGlobal in class Assembler

arrayMult

public double arrayMult(double[] a1,
                        double[] a2)
used to compute de product of 2 arrays


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.

Specified by:
toString in class Assembler
Returns:
the name of the assembler