mathcomp.assemble.convdiff
Class CDH_Weighted

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.ConvDiffHomogen
                              extended by mathcomp.assemble.convdiff.CDH_Weighted
All Implemented Interfaces:
java.lang.Runnable, Algorithm, Reportable

public class CDH_Weighted
extends ConvDiffHomogen


Field Summary
 
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
CDH_Weighted()
           
 
Method Summary
 double approxLHS(Triangle t, Node u, Node v)
           
 double evalBasisFuncOnRef(Node n, int local)
          Returns the value of the linear basis function with the local number localBasisNumber at the Node u on the standart-triangle.
 double evalLinearBasisFuncOnRef(Node u, int localBasisNumber)
           
 double[] getAverageFlux(Triangle t, int local)
           
 int getLocalNodeNumber(Triangle t, Node n)
           
 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.ConvDiffHomogen
evalBX, evalBY, evalExactSolution, evalF, evalU, evalV, getExactPartialU, getExactPartialV, getExactPartialX, getExactPartialY, getSolScale
 
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, evalGradXBasisFuncOnRef, evalGradYBasisFuncOnRef
 
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 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

CDH_Weighted

public CDH_Weighted()
Method Detail

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.