The Book page needs to be populated and polished

Bug #880815 reported by Harish Narayanan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
FEniCS Web
Confirmed
Critical
Anders Logg

Bug Description

The page is currently skeletal.

Changed in fenics-web:
status: New → Confirmed
importance: Undecided → Critical
assignee: nobody → Anders Logg (logg)
milestone: none → 1.0
Revision history for this message
eldad (eldad-a) wrote :

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
problem = VariationalProblem(a, L, bc)
u = problem.solve()

Running the code as is will result in the output error:

*** Error: Unable to create variational problem.
*** Reason: The VariationalProblem class has been removed. Please visit http://fenicsproject.org/releases/1.0-beta/ to see which changes you need to make to your program..
*** Where: This error was encountered inside variationalproblem.py.

This should be changed to (based on the link in the error output):

# Compute solution
u = Function(V)
problem = LinearVariationalProblem(a, L, u, bc)
solver = LinearVariationalSolver(problem)
solver.solve()

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.