mathcomp.assemble.laplace
Class LaplaceAssemblerBoundary

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.laplace.LaplaceAssembler
                      extended by mathcomp.assemble.laplace.LaplaceAssemblerBoundary
All Implemented Interfaces:
java.lang.Runnable, Algorithm, Reportable

public class LaplaceAssemblerBoundary
extends LaplaceAssembler

A Laplace Problem test class that uses the assemble.LagrangeLinearAssembler with two different Dirichlet boundary segments. Use the square.grid for testing this.

Author:
ch.wust

Field Summary
 
Fields inherited from class mathcomp.assemble.LagrangeLinearAssembler
gradVector
 
Fields inherited from class mathcomp.assemble.Assembler
dirichletBoundaryValues, solScale
 
Constructor Summary
LaplaceAssemblerBoundary()
           
 
Method Summary
 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.laplace.LaplaceAssembler
evalExactGradient, evalExactSolution, evalF
 
Methods inherited from class mathcomp.assemble.LagrangeLinearAssembler
createDof, createDofExport, evalApproxGradient, evalApproxSolution, evalBasisFuncOnRef, evalGradXBasisFuncOnRef, evalGradYBasisFuncOnRef
 
Methods inherited from class mathcomp.assemble.Assembler
addDirichletNodes, assembleGlobal, calcDirichletBoundary, createSurfaces, createSurfaces, getDof, getElementMatrix, getEpsilon, getErrorCalculator, getExactPartialX, getExactPartialY, getGrid, getInfoUrl, getM, getSolScale, getY, report, run, setEpsilon, setGrid, setM, setTauIndex, 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

LaplaceAssemblerBoundary

public LaplaceAssemblerBoundary()
Method Detail

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 LaplaceAssembler
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 Assembler
Returns:
the file name of the preferred grid as a String object.