|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmathcomp.monitor.DefaultReportable
mathcomp.monitor.DefaultAlgorithm
mathcomp.assemble.Assembler
mathcomp.assemble.stokes.StokesAssembler
mathcomp.assemble.cfd.NavierStokesAssembler
mathcomp.assemble.cfd.NSMiniAssembler
public abstract class 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 | |
---|---|
NSMiniAssembler()
|
Method Summary | |
---|---|
void |
createDof(Grid grid,
java.util.Set dof)
All global Objects, that represent a degreeOfFreedom are added to dof. |
double[] |
evalApproxGradientU1(Node n,
Triangle t,
Vector x)
For H1 error calculations we need to know the gradient of the approximated solution in a node n. |
double[] |
evalApproxGradientU2(Node n,
Triangle t,
Vector x)
For H1 error calculations we need to know the gradient of the approximated solution in a node n. |
double |
evalApproxSolutionPressure(Node n,
Triangle t,
Vector x)
Evaluates the FEM solution for the pressure in a Node. |
double |
evalApproxSolutionU1(Node n,
Triangle t,
Vector x)
Evaluates the FEM solution for the first component of the velocity field in a Node. |
double |
evalApproxSolutionU2(Node n,
Triangle t,
Vector x)
Evaluates the FEM solution for the second component of the velocity field in a Node. |
double |
evalBasisFuncOnRefPressure(Node u,
int localBasisNumber)
Returns the value of the basis function used to discretize the pressure at the Node u on the reference triangle. |
double |
evalBasisFuncOnRefVelocity(Node u,
int localBasisNumber)
Returns the value of the basis function used to discretize the velocity field at the Node u on the reference triangle. |
double[] |
evalBasisGradOnRefVelocity(Node u,
int localBasisNumber)
|
int |
getLocalNodeNumber(Triangle t,
Node n)
Returns the local Node number to a Node on triangle element. |
Methods inherited from class mathcomp.assemble.cfd.NavierStokesAssembler |
---|
addDirichletNodes, addToM, addToY, assembleGlobal, 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 |
---|
public NSMiniAssembler()
Method Detail |
---|
public void createDof(Grid grid, java.util.Set dof)
Assembler
createDof
in class Assembler
grid
- the current griddof
- the Set where the DOFs have to be put inpublic double evalBasisFuncOnRefVelocity(Node u, int localBasisNumber)
mathcomp.assemble.stokes.StokesAssembler
evalBasisFuncOnRefVelocity
in class mathcomp.assemble.stokes.StokesAssembler
public double[] evalBasisGradOnRefVelocity(Node u, int localBasisNumber)
public double evalBasisFuncOnRefPressure(Node u, int localBasisNumber)
mathcomp.assemble.stokes.StokesAssembler
evalBasisFuncOnRefPressure
in class mathcomp.assemble.stokes.StokesAssembler
public double evalApproxSolutionU1(Node n, Triangle t, Vector x)
mathcomp.assemble.stokes.StokesAssembler
evalApproxSolutionU1
in class mathcomp.assemble.stokes.StokesAssembler
n
- Node where the solution has to be evaluatedt
- the triangle that contains the Node nx
- the solution vector
public double evalApproxSolutionU2(Node n, Triangle t, Vector x)
mathcomp.assemble.stokes.StokesAssembler
evalApproxSolutionU2
in class mathcomp.assemble.stokes.StokesAssembler
n
- Node where the solution has to be evaluatedt
- the triangle that contains the Node nx
- the solution vector
public double evalApproxSolutionPressure(Node n, Triangle t, Vector x)
mathcomp.assemble.stokes.StokesAssembler
evalApproxSolutionPressure
in class mathcomp.assemble.stokes.StokesAssembler
n
- Node where the solution has to be evaluatedt
- the triangle that contains the Node nx
- the solution vector
public int getLocalNodeNumber(Triangle t, Node n)
public double[] evalApproxGradientU1(Node n, Triangle t, Vector x)
mathcomp.assemble.stokes.StokesAssembler
evalApproxGradientU1
in class mathcomp.assemble.stokes.StokesAssembler
public double[] evalApproxGradientU2(Node n, Triangle t, Vector x)
mathcomp.assemble.stokes.StokesAssembler
evalApproxGradientU2
in class mathcomp.assemble.stokes.StokesAssembler
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |