mathcomp.assemble.cfd
Class NSMiniOseenTesterD

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.NSMiniFPIAssembler
                              extended by mathcomp.assemble.cfd.NSMiniOseen
                                  extended by mathcomp.assemble.cfd.NSMiniOseenTesterD
All Implemented Interfaces:
java.lang.Runnable, Algorithm, Reportable, IteratedAssembler

public class NSMiniOseenTesterD
extends NSMiniOseen


Field Summary
 
Fields inherited from class mathcomp.assemble.cfd.NSMiniFPIAssembler
oldSolution, stokesY
 
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
 
Fields inherited from interface mathcomp.run.IteratedAssembler
tolerance
 
Constructor Summary
NSMiniOseenTesterD()
           
 
Method Summary
 double evalF1(Node n)
          Evaluates the first component of the right hand side function f on the Node n
 double evalF2(Node n)
          Evaluates the second component of the right hand side function f on the Node n
 double getDirichletValueAt(mathcomp.assemble.stokes.StokesNode s, java.lang.String info)
           
 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.cfd.NSMiniOseen
evalExactGradientU1, evalExactGradientU2, evalExactSolutionPressure, evalExactSolutionU1, evalExactSolutionU2
 
Methods inherited from class mathcomp.assemble.cfd.NSMiniFPIAssembler
assembleGlobal, getIt, getOldArea, getOldSolution, init, initializeFP, isDamped, isToContinue, setMyTolerance, setOldSolution, setOldSolution
 
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, getParameterBox, getType, isFinalRun, setFP_parameters, setIterationState, setParameterBox
 
Methods inherited from class mathcomp.assemble.stokes.StokesAssembler
createSurfaces, evalApproxSolution, evalExactSolution, evalF, getErrorCalculator, getPaintNodes, getViscosity, setViscosity
 
Methods inherited from class mathcomp.assemble.Assembler
createSurfaces, evalApproxGradient, evalExactGradient, getDof, getElementMatrix, getEpsilon, 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

NSMiniOseenTesterD

public NSMiniOseenTesterD()
Method Detail

evalF1

public double evalF1(Node n)
Description copied from class: mathcomp.assemble.stokes.StokesAssembler
Evaluates the first component of the right hand side function f on the Node n

Overrides:
evalF1 in class NSMiniOseen
Parameters:
n - the Node where f1 is evaluated

evalF2

public double evalF2(Node n)
Description copied from class: mathcomp.assemble.stokes.StokesAssembler
Evaluates the second component of the right hand side function f on the Node n

Overrides:
evalF2 in class NSMiniOseen
Parameters:
n - the Node where f2 is evaluated

getDirichletValueAt

public double getDirichletValueAt(mathcomp.assemble.stokes.StokesNode s,
                                  java.lang.String info)
Overrides:
getDirichletValueAt in class NSMiniOseen

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

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 NSMiniOseen
Returns:
the name of the assembler