mathcomp.assemble.convdiff
Class AbstractCDA_Square

java.lang.Object
  extended by mathcomp.monitor.DefaultReportable
      extended by mathcomp.monitor.DefaultAlgorithm
          extended by mathcomp.assemble.Assembler
              extended by mathcomp.assemble.LagrangeSquareAssembler
                  extended by mathcomp.assemble.convdiff.AbstractCDA_Square
All Implemented Interfaces:
java.lang.Runnable, Algorithm, Reportable
Direct Known Subclasses:
CDH_Square

public abstract class AbstractCDA_Square
extends LagrangeSquareAssembler

Author:
chwust To change the template for this generated type comment go to Window - Preferences - Java - Code Generation - Code and Comments

Field Summary
 Node a
           
 double area
           
 Node b
           
 Node c
           
 double delta
           
 double epsilon
           
 
Fields inherited from class mathcomp.assemble.Assembler
dirichletBoundaryValues, solScale
 
Constructor Summary
AbstractCDA_Square()
           
 
Method Summary
 double approxLHS(Triangle t, Node u, Node v)
          Important that to the (i,j) matrix entry we take the "i-th basisfunc for v" and "jth for u".
abstract  double evalBX(Node n)
           
abstract  double evalBY(Node n)
           
 double getDelta(Triangle t)
           
 double getEpsilon()
           
 void setEpsilon(double ep)
           
 
Methods inherited from class mathcomp.assemble.LagrangeSquareAssembler
createDof, createDofExport, evalApproxGradient, evalApproxSolution, evalBasisFuncOnRef, evalGradXBasisFuncOnRef, evalGradYBasisFuncOnRef, getLdof, getLocalNodeNumber
 
Methods inherited from class mathcomp.assemble.Assembler
addDirichletNodes, assembleGlobal, calcDirichletBoundary, createSurfaces, createSurfaces, evalExactGradient, evalExactSolution, evalF, getDof, getElementMatrix, getErrorCalculator, getExactPartialX, getExactPartialY, getGrid, getInfoUrl, getM, getPreferredGridFileName, getSolScale, getY, report, run, setGrid, setM, setTauIndex, setY, toString
 
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

epsilon

public double epsilon

delta

public double delta

area

public double area

a

public Node a

b

public Node b

c

public Node c
Constructor Detail

AbstractCDA_Square

public AbstractCDA_Square()
Method Detail

approxLHS

public double approxLHS(Triangle t,
                        Node u,
                        Node v)
Important that to the (i,j) matrix entry we take the "i-th basisfunc for v" and "jth for u".

Parameters:
t - the current triangle
v - the test-function
u - the function to find
Returns:

getDelta

public double getDelta(Triangle t)

evalBX

public abstract double evalBX(Node n)

evalBY

public abstract double evalBY(Node n)

setEpsilon

public void setEpsilon(double ep)
Overrides:
setEpsilon in class Assembler

getEpsilon

public double getEpsilon()
Overrides:
getEpsilon in class Assembler