The Book page needs to be populated and polished

Bug #880815 reported by Harish Narayanan on 2011-10-24
This bug affects 1 person
Affects Status Importance Assigned to Milestone
FEniCS Web
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
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 :

# 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 to see which changes you need to make to your program..
*** Where: This error was encountered inside

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)

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

Other bug subscribers