Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Backofen, Rainer
amdis
Commits
32af9a5a
Commit
32af9a5a
authored
Jun 03, 2011
by
Backofen, Rainer
Browse files
change Laplace_SOT to Simple_SOT in tutorial
parent
96082079
Changes
4
Hide whitespace changes
Inline
Side-by-side
doc/tutorial/ellipt.tex
View file @
32af9a5a
...
...
@@ -189,7 +189,7 @@ The operators now are defined as follows:
\begin{lstlisting}
{}
// ===== create matrix operator =====
Operator matrixOperator(ellipt.getFeSpace());
matrixOperator.addSecondOrderTerm(new
Laplac
e
_
SOT);
matrixOperator.addSecondOrderTerm(new
Simpl
e
_
SOT);
ellipt.addMatrixOperator(matrixOperator, 0, 0);
// ===== create rhs operator =====
...
...
@@ -201,7 +201,7 @@ The operators now are defined as follows:
We define a matrix operator (left hand side operator) on the finite
element space of the problem. The term
$
-
\Delta
u
$
is added to
it. Note that the minus sign isn't explicitly given, but implicitly
contained in
\verb
+
Laplac
e_SOT
+
. With
\verb
+
addMatrixOperator
+
we add
contained in
\verb
+
Simpl
e_SOT
+
. With
\verb
+
addMatrixOperator
+
we add
the operator to the stationary problem definition. The both zeros
represent the position of the operator in the operator matrix. As we
are about to define a scalar equation, there is only the 0/0 position
...
...
doc/tutorial/heat.tex
View file @
32af9a5a
...
...
@@ -307,7 +307,7 @@ Now, we define the operators:
// create laplace
Operator A(heatSpace.getFeSpace());
A.addSecondOrderTerm(new
Laplac
e
_
SOT);
A.addSecondOrderTerm(new
Simpl
e
_
SOT);
A.setUhOld(heat.getOldSolution(0));
if (*(heat.getThetaPtr()) != 0.0)
heatSpace.addMatrixOperator(A, 0, 0, heat.getThetaPtr(),
&
one);
...
...
doc/tutorial/tutorial.pdf
View file @
32af9a5a
No preview for this file type
doc/tutorial/vecellipt.tex
View file @
32af9a5a
...
...
@@ -80,7 +80,7 @@ The operator definitions for the first equation are:
\begin{lstlisting}
{}
// ===== create operators =====
Operator matrixOperator00(vecellipt.getFeSpace(0), vecellipt.getFeSpace(0));
matrixOperator00.addSecondOrderTerm(new
Laplac
e
_
SOT);
matrixOperator00.addSecondOrderTerm(new
Simpl
e
_
SOT);
vecellipt.addMatrixOperator(
&
matrixOperator00, 0, 0);
int degree = vecellipt.getFeSpace(0)->getBasisFcts()->getDegree();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment