mathcomp.assemble.convdiff
Class Raithby

java.lang.Object
  extended by mathcomp.monitor.DefaultReportable
      extended by mathcomp.monitor.DefaultAlgorithm
          extended by mathcomp.assemble.Assembler
              extended by mathcomp.assemble.LagrangeLinearAssembler
                  extended by mathcomp.assemble.convdiff.AbstractCDA
                      extended by mathcomp.assemble.convdiff.AbstractCDA_cV
                          extended by mathcomp.assemble.convdiff.Raithby
All Implemented Interfaces:
java.lang.Runnable, Algorithm, Reportable
Direct Known Subclasses:
Raithby_SUPG

public class Raithby
extends AbstractCDA_cV

Author:
ch.wust To change the template for this generated type comment go to Window>Preferences>Java>Code Generation>Code and Comments

Field Summary
 double alpha
           
 double theta
           
 
Fields inherited from class mathcomp.assemble.convdiff.AbstractCDA
area, aSixth, aThird, d0, d1, epsilon, tau, tauIndex
 
Fields inherited from class mathcomp.assemble.LagrangeLinearAssembler
gradVector
 
Fields inherited from class mathcomp.assemble.Assembler
dirichletBoundaryValues, solScale
 
Constructor Summary
Raithby()
           
 
Method Summary
 double evalBX(Node n)
           
 double evalBY(Node n)
           
 double evalF(Node n)
          Evaluates the right hand side function f on the Node n
 ErrorCalculator getErrorCalculator()
           
 java.lang.String getPreferredGridFileName()
          Every Assembler has a preferred grid.
 java.lang.String toString()
          Set the name of your assembler by overwriting this method in your assembler class.
 
Methods inherited from class mathcomp.assemble.convdiff.AbstractCDA_cV
approxLHS
 
Methods inherited from class mathcomp.assemble.convdiff.AbstractCDA
approxConvectionIntegral, getEpsilon, getFlowSegment, getTau, getTauIndex, setEpsilon, setTauIndex, zeta
 
Methods inherited from class mathcomp.assemble.LagrangeLinearAssembler
createDof, createDofExport, evalApproxGradient, evalApproxSolution, evalBasisFuncOnRef, evalGradXBasisFuncOnRef, evalGradYBasisFuncOnRef
 
Methods inherited from class mathcomp.assemble.Assembler
addDirichletNodes, assembleGlobal, calcDirichletBoundary, createSurfaces, createSurfaces, evalExactGradient, evalExactSolution, getDof, getElementMatrix, getExactPartialX, getExactPartialY, getGrid, getInfoUrl, getM, getSolScale, getY, report, run, setGrid, setM, 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
 

Field Detail

alpha

public double alpha

theta

public double theta
Constructor Detail

Raithby

public Raithby()
Method Detail

evalBX

public double evalBX(Node n)
Specified by:
evalBX in class AbstractCDA

evalBY

public double evalBY(Node n)
Specified by:
evalBY in class AbstractCDA

evalF

public double evalF(Node n)
Description copied from class: Assembler
Evaluates the right hand side function f on the Node n

Specified by:
evalF in class Assembler
Parameters:
n - the Node where f is evaluated
Returns:
the evaluation value

getPreferredGridFileName

public java.lang.String getPreferredGridFileName()
Description copied from class: Assembler
Every Assembler has a preferred grid. If this method is not implemented in the specific assembler class, "square.grid" is default.

Overrides:
getPreferredGridFileName in class Assembler
Returns:
the file name of the preferred grid as a String object.

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

getErrorCalculator

public ErrorCalculator getErrorCalculator()
Overrides:
getErrorCalculator in class Assembler