mathcomp.assemble.convdiff
Class CDH_Weighted
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_Weighted
- All Implemented Interfaces:
- java.lang.Runnable, Algorithm, Reportable
public class CDH_Weighted
- extends ConvDiffHomogen
Methods inherited from class mathcomp.assemble.convdiff.ConvDiffHomogen |
evalBX, evalBY, evalExactSolution, evalF, evalU, evalV, getExactPartialU, getExactPartialV, getExactPartialX, getExactPartialY, 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_Weighted
public CDH_Weighted()
evalBasisFuncOnRef
public double evalBasisFuncOnRef(Node n,
int local)
- Description copied from class:
LagrangeLinearAssembler
- Returns the value of the linear basis function with the local number
localBasisNumber
at the Node u on the standart-triangle.
- Overrides:
evalBasisFuncOnRef
in class LagrangeLinearAssembler
evalLinearBasisFuncOnRef
public double evalLinearBasisFuncOnRef(Node u,
int localBasisNumber)
getAverageFlux
public double[] getAverageFlux(Triangle t,
int local)
approxLHS
public double approxLHS(Triangle t,
Node u,
Node v)
- Overrides:
approxLHS
in class AbstractCDA_cV
getLocalNodeNumber
public int getLocalNodeNumber(Triangle t,
Node n)
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
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 ConvDiffHomogen
- Returns:
- the file name of the preferred grid as a String object.