mathcomp.assemble.convdiff
Class CDH_Square
java.lang.Object
mathcomp.monitor.DefaultReportable
mathcomp.monitor.DefaultAlgorithm
mathcomp.assemble.Assembler
mathcomp.assemble.LagrangeSquareAssembler
mathcomp.assemble.convdiff.AbstractCDA_Square
mathcomp.assemble.convdiff.CDH_Square
- All Implemented Interfaces:
- java.lang.Runnable, Algorithm, Reportable
public class CDH_Square
- extends AbstractCDA_Square
- Author:
- chwust
To change the template for this generated type comment go to
Window - Preferences - Java - Code Generation - Code and Comments
Methods inherited from class mathcomp.assemble.Assembler |
addDirichletNodes, assembleGlobal, calcDirichletBoundary, createSurfaces, createSurfaces, evalExactGradient, getDof, getElementMatrix, getErrorCalculator, getGrid, getInfoUrl, getM, getPreferredGridFileName, getY, report, run, setGrid, setM, setTauIndex, setY |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CDH_Square
public CDH_Square()
evalBX
public double evalBX(Node n)
- Specified by:
evalBX
in class AbstractCDA_Square
evalBY
public double evalBY(Node n)
- Specified by:
evalBY
in class AbstractCDA_Square
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
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 Assembler
- Parameters:
n
- node where the exact solution should be evaluated
evalU
public double evalU(double x,
double b)
evalV
public double evalV(double y,
double b)
getExactPartialU
public double getExactPartialU(double x,
double b)
getExactPartialV
public double getExactPartialV(double y,
double b)
getExactPartialY
public double getExactPartialY(Node n)
- Description copied from class:
Assembler
- Direct access to partialY
- Overrides:
getExactPartialY
in class Assembler
getExactPartialX
public double getExactPartialX(Node n)
- Description copied from class:
Assembler
- Direct access to partialX
- Overrides:
getExactPartialX
in class Assembler
getSolScale
public double getSolScale()
- Overrides:
getSolScale
in class Assembler
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