|
||||||||||
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.discontinuousgalerkin.DGAssembler
public abstract class DGAssembler
Field Summary |
---|
Fields inherited from class mathcomp.assemble.Assembler |
---|
dirichletBoundaryValues, solScale |
Constructor Summary | |
---|---|
DGAssembler()
|
Method Summary | |
---|---|
void |
createDof(Grid grid,
java.util.Set dof)
All global Objects, that represent a degreeOfFreedom are added to dof. |
Surface[] |
createSurfaces(Vector x)
Generates and returns an array of Surface Objects. |
double |
evalApproxSolution(Node n,
Triangle t,
Vector x)
Evaluates the FEM solution in a Node. |
double[] |
evalBasisFuncGradOnRef(int localBasisNumber)
|
double |
evalBasisFuncOnRef(Node u,
int localBasisNumber)
|
double |
evalExactSolution(Node n)
For error calculations we need to know the exact solution of a problem. |
double |
evalF(Node n)
Evaluates the right hand side function f on the Node n |
abstract double |
evalG(Node n,
double time)
computes the value of the right hand side coefficient function of the convection-diffusion problem. |
abstract double |
evalUd(Node n,
double time)
Computes the value of the time dependent Dirichlet data in the point (n, time) of the convection-diffusion problem. |
Edges |
getEdges()
|
ErrorCalculator |
getErrorCalculator()
|
void |
iniQuadrature()
Used to initialize the quadrature rules that are going to be used. |
Methods inherited from class mathcomp.assemble.Assembler |
---|
addDirichletNodes, assembleGlobal, calcDirichletBoundary, 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 DGAssembler()
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 evalBasisFuncOnRef(Node u, int localBasisNumber)
public double[] evalBasisFuncGradOnRef(int localBasisNumber)
public void iniQuadrature()
public double evalApproxSolution(Node n, Triangle t, Vector x)
Assembler
evalApproxSolution
in class Assembler
n
- Node where the solution has to be evaluatedt
- the triangle that contains the Node nx
- the solution vector
public double evalExactSolution(Node n)
Assembler
evalExactSolution
in class Assembler
n
- node where the exact solution should be evaluatedpublic abstract double evalG(Node n, double time)
public abstract double evalUd(Node n, double time)
public Surface[] createSurfaces(Vector x)
Assembler
createSurfaces
in class Assembler
x
- the FE-solution vector
public ErrorCalculator getErrorCalculator()
getErrorCalculator
in class Assembler
public double evalF(Node n)
Assembler
evalF
in class Assembler
n
- the Node where f is evaluated
public Edges getEdges()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |