mathcomp.assemble.cfd
Class NSMiniOseenAssembler

java.lang.Object
  extended by mathcomp.monitor.DefaultReportable
      extended by mathcomp.monitor.DefaultAlgorithm
          extended by mathcomp.assemble.Assembler
              extended by mathcomp.assemble.stokes.StokesAssembler
                  extended by mathcomp.assemble.cfd.NavierStokesAssembler
                      extended by mathcomp.assemble.cfd.NSMiniAssembler
                          extended by mathcomp.assemble.cfd.NSMiniOseenAssembler
All Implemented Interfaces:
java.lang.Runnable, Algorithm, Reportable
Direct Known Subclasses:
NSMiniDuct, NSMiniOseenTesterB

public abstract class NSMiniOseenAssembler
extends NSMiniAssembler


Field Summary
 
Fields inherited from class mathcomp.assemble.cfd.NavierStokesAssembler
alpha, beta, BOUNDARY_FRICTION, BOUNDARY_GLUE, BOUNDARY_INFLOW, BOUNDARY_OUTFLOW, BOUNDARY_SLIP, INIT_ALPHA, INIT_BETA, INIT_DUCT_RADIUS, INIT_MAXITER, INIT_STARTTIME, INIT_STEPTIME, INIT_STOPTIME, INIT_TOLERANCE, INIT_VELOCITY, INIT_VISCOSITY, IS_ITERATIVE, IS_TIMEDEPENDANT, NO_BOUNDARY, type
 
Fields inherited from class mathcomp.assemble.stokes.StokesAssembler
gaussPoints, gaussWeights
 
Fields inherited from class mathcomp.assemble.Assembler
dirichletBoundaryValues, solScale
 
Constructor Summary
NSMiniOseenAssembler()
           
 
Method Summary
 void assembleGlobal()
          The main assemble method generally called from outside.
 void init()
           
 boolean isToContinue(Vector x)
           
 void setTolerance(double tol)
           
 
Methods inherited from class mathcomp.assemble.cfd.NSMiniAssembler
createDof, evalApproxGradientU1, evalApproxGradientU2, evalApproxSolutionPressure, evalApproxSolutionU1, evalApproxSolutionU2, evalBasisFuncOnRefPressure, evalBasisFuncOnRefVelocity, evalBasisGradOnRefVelocity, getLocalNodeNumber
 
Methods inherited from class mathcomp.assemble.cfd.NavierStokesAssembler
addDirichletNodes, addToM, addToY, calcDirichletBoundary, calcUnitNormals, getBoundaryNodes, getOldSolution, getParameterBox, getType, isFinalRun, setFP_parameters, setIterationState, setOldSolution, setParameterBox
 
Methods inherited from class mathcomp.assemble.stokes.StokesAssembler
createSurfaces, evalApproxSolution, evalExactGradientU1, evalExactGradientU2, evalExactSolution, evalExactSolutionPressure, evalExactSolutionU1, evalExactSolutionU2, evalF, evalF1, evalF2, getDirichletValueAt, getErrorCalculator, getPaintNodes, getViscosity, setViscosity
 
Methods inherited from class mathcomp.assemble.Assembler
createSurfaces, evalApproxGradient, evalExactGradient, getDof, getElementMatrix, getEpsilon, getExactPartialX, getExactPartialY, getGrid, getInfoUrl, getM, getPreferredGridFileName, getSolScale, getY, report, run, setEpsilon, 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
 

Constructor Detail

NSMiniOseenAssembler

public NSMiniOseenAssembler()
Method Detail

assembleGlobal

public void assembleGlobal()
Description copied from class: Assembler
The main assemble method generally called from outside. It once calculates the boundary, the global DOFs and the Dirichlet values. Then Matrix m and right side Vector y are created. Finally an iteration over all elements calls assemble(Grid g, Triangle t, Matrix m) for each element.

Overrides:
assembleGlobal in class NavierStokesAssembler

init

public void init()

isToContinue

public boolean isToContinue(Vector x)

setTolerance

public void setTolerance(double tol)