Tutorial .rst needs fixing
Bug #802024 reported by
Garth Wells
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
DOLFIN |
Fix Released
|
Undecided
|
Unassigned | ||
FEniCS Web |
Fix Released
|
Critical
|
Hans Petter Langtangen |
Bug Description
The tutorial .rst files were generated automatically from the .tex file, which is not perfect. Tutorial files needs to be checked and fixed.
Changed in fenics-web: | |
status: | New → Confirmed |
importance: | Undecided → Critical |
Changed in fenics-web: | |
milestone: | none → 1.0 |
Changed in fenics-web: | |
assignee: | nobody → Hans Petter Langtangen (hpl) |
Changed in fenics-web: | |
milestone: | 1.0-beta → 1.0 |
tags: | added: content |
tags: | added: documentation |
Changed in dolfin: | |
milestone: | none → 1.0 |
Changed in fenics-web: | |
status: | Confirmed → In Progress |
Changed in fenics-web: | |
status: | In Progress → Fix Released |
Changed in dolfin: | |
status: | New → Fix Released |
To post a comment you must log in.
in the web tutorial (as well as in the book draft available online) there is a piece of code not compatible with current PPA FEniCS version; I refer to the first code appearing in http:// fenicsproject. org/doc/ tutorial/ fundamentals. html :
# Compute solution lem(a, L, bc)
problem = VariationalProb
u = problem.solve()
Running the code as is will result in the output error:
*** Error: Unable to create variational problem. fenicsproject. org/releases/ 1.0-beta/ to see which changes you need to make to your program.. lem.py.
*** Reason: The VariationalProblem class has been removed. Please visit http://
*** Where: This error was encountered inside variationalprob
This should be changed to (based on the link in the error output):
# Compute solution alProblem( a, L, u, bc) alSolver( problem)
u = Function(V)
problem = LinearVariation
solver = LinearVariation
solver.solve()