Commit e8fa1fc3 by Thomas Witkowski

### Fixed tutorial.

parent e0b80da3
 ... ... @@ -187,13 +187,13 @@ The operators now are defined as follows: \begin{lstlisting}{} // ===== create matrix operator ===== Operator matrixOperator(ellipt.getFeSpace()); matrixOperator.addSecondOrderTerm(new Simple_SOT); matrixOperator.addTerm(new Simple_SOT); ellipt.addMatrixOperator(matrixOperator, 0, 0); // ===== create rhs operator ===== int degree = ellipt.getFeSpace()->getBasisFcts()->getDegree(); Operator rhsOperator(ellipt.getFeSpace()); rhsOperator.addZeroOrderTerm(new CoordsAtQP_ZOT(new F(degree))); rhsOperator.addTerm(new CoordsAtQP_ZOT(new F(degree))); ellipt.addVectorOperator(rhsOperator, 0); \end{lstlisting} We define a matrix operator (left hand side operator) on the finite ... ...
 ... ... @@ -307,7 +307,7 @@ Now, we define the operators: // create laplace Operator A(heatSpace.getFeSpace()); A.addSecondOrderTerm(new Simple_SOT); A.addTerm(new Simple_SOT); A.setUhOld(heat.getOldSolution(0)); if (*(heat.getThetaPtr()) != 0.0) heatSpace.addMatrixOperator(A, 0, 0, heat.getThetaPtr(), &one); ... ... @@ -329,7 +329,7 @@ operator by \verb+setUhOld+. \begin{lstlisting}{} // create zero order operator Operator C(heatSpace.getFeSpace()); C.addZeroOrderTerm(new Simple_ZOT); C.addTerm(new Simple_ZOT); C.setUhOld(heat.getOldSolution(0)); heatSpace.addMatrixOperator(C, 0, 0, heat.getInvTau(), heat.getInvTau()); heatSpace.addVectorOperator(C, 0, heat.getInvTau(), heat.getInvTau()); ... ... @@ -345,7 +345,7 @@ the function \verb+getInvTau()+, which is a member of the class \begin{lstlisting}{} // create RHS operator Operator F(heatSpace.getFeSpace()); F.addZeroOrderTerm(new CoordsAtQP_ZOT(rhsFct)); F.addTerm(new CoordsAtQP_ZOT(rhsFct)); heatSpace.addVectorOperator(F, 0); \end{lstlisting} ... ...
 ... ... @@ -31,5 +31,5 @@ For the compilation of the examples, described in this section, the following st \end{enumerate} To run the example, call:\\ \verb+> ./ + \input{makefile.tex} %\input{makefile.tex}
No preview for this file type