mathcomp.assemble.convdiff
Class CDH_EF_Flux
java.lang.Object
mathcomp.monitor.DefaultReportable
mathcomp.monitor.DefaultAlgorithm
mathcomp.assemble.Assembler
mathcomp.assemble.LagrangeLinearAssembler
mathcomp.assemble.convdiff.AbstractCDA
mathcomp.assemble.convdiff.AbstractCDA_cV
mathcomp.assemble.convdiff.ConvDiffHomogen
mathcomp.assemble.convdiff.CDH_EF_Flux
- All Implemented Interfaces:
- java.lang.Runnable, Algorithm, Reportable
public class CDH_EF_Flux
- extends ConvDiffHomogen
- Author:
- chwust
Methods inherited from class mathcomp.assemble.convdiff.ConvDiffHomogen |
evalBX, evalBY, evalF, evalU, evalV, getExactPartialU, getExactPartialV, getExactPartialX, getExactPartialY, getPreferredGridFileName, getSolScale |
Methods inherited from class mathcomp.assemble.Assembler |
addDirichletNodes, assembleGlobal, calcDirichletBoundary, createSurfaces, createSurfaces, evalExactGradient, getDof, getElementMatrix, getErrorCalculator, getGrid, getInfoUrl, getM, getY, report, run, setGrid, setM, setY |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CDH_EF_Flux
public CDH_EF_Flux()
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 ConvDiffHomogen
- Parameters:
n
- node where the exact solution should be evaluated
approxLHS
public double approxLHS(Triangle t,
Node u,
Node v)
- Overrides:
approxLHS
in class AbstractCDA_cV
evalWeightedBasisFuncOnRef
public double evalWeightedBasisFuncOnRef(Node n,
int local)
getAverageFlux
public double[] getAverageFlux(Triangle t,
int local)
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 ConvDiffHomogen
- Returns:
- the name of the assembler