|
||||||||||
| 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.LagrangeSquareAssembler
public abstract class LagrangeSquareAssembler
An Assembler class for piecewise quadratic lagrange basis-functions.
| Field Summary |
|---|
| Fields inherited from class mathcomp.assemble.Assembler |
|---|
dirichletBoundaryValues, solScale |
| Constructor Summary | |
|---|---|
LagrangeSquareAssembler()
|
|
| Method Summary | |
|---|---|
void |
createDof(Grid grid,
java.util.Set dof)
All global Objects, that represent a degreeOfFreedom are added to dof. |
void |
createDofExport(Triangle t,
java.lang.Object[] result)
|
double[] |
evalApproxGradient(Node gaussRef,
Triangle t,
Vector x)
For H1 error calculations we need to know the gradient of the approximated solution in a node n. |
double |
evalApproxSolution(Node n,
Triangle t,
Vector x)
Evaluates the FEM solution in a Node. |
double |
evalBasisFuncOnRef(Node u,
int localBasisNumber)
Returns the value of the Node u on the quadratic Basisfunktion with the local number localBasisNumber on the standart-triangle. |
double |
evalGradXBasisFuncOnRef(Node u,
int localBasisNumber)
|
double |
evalGradYBasisFuncOnRef(Node u,
int localBasisNumber)
|
java.util.List |
getLdof(Triangle t,
java.util.List ldof)
Every Assambler has to define the local DOFs for an element. |
int |
getLocalNodeNumber(Triangle t,
Node n)
Gets the local Node number to a Node on a quadratic triangle element. |
| Methods inherited from class mathcomp.assemble.Assembler |
|---|
addDirichletNodes, assembleGlobal, calcDirichletBoundary, createSurfaces, createSurfaces, evalExactGradient, evalExactSolution, evalF, getDof, getElementMatrix, getEpsilon, getErrorCalculator, 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 LagrangeSquareAssembler()
| Method Detail |
|---|
public void createDof(Grid grid,
java.util.Set dof)
Assembler
createDof in class Assemblergrid - the current griddof - the Set where the DOFs have to be put in
public java.util.List getLdof(Triangle t,
java.util.List ldof)
Assembler
public void createDofExport(Triangle t,
java.lang.Object[] result)
public int getLocalNodeNumber(Triangle t,
Node n)
t - the current trianglen - the node to find the local number of
public double evalApproxSolution(Node n,
Triangle t,
Vector x)
Assembler
evalApproxSolution in class Assemblern - Node where the solution has to be evaluatedt - the triangle that contains the Node nx - the solution vector
public double evalBasisFuncOnRef(Node u,
int localBasisNumber)
localBasisNumber on the standart-triangle.
public double evalGradXBasisFuncOnRef(Node u,
int localBasisNumber)
public double evalGradYBasisFuncOnRef(Node u,
int localBasisNumber)
public double[] evalApproxGradient(Node gaussRef,
Triangle t,
Vector x)
Assembler
evalApproxGradient in class AssemblergaussRef - node where the approximated gradient should be evaluated
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||