12.07.2015 Views

DOLFIN User Manual - FEniCS Project

DOLFIN User Manual - FEniCS Project

DOLFIN User Manual - FEniCS Project

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>DOLFIN</strong> <strong>User</strong> <strong>Manual</strong>Hoffman, Jansson, Logg, Wells5.3.1 Creating a sub class . . . . . . . . . . . . . . . . . . . 395.3.2 Specifying a function-pointer . . . . . . . . . . . . . . . 415.3.3 Cell-dependent functions . . . . . . . . . . . . . . . . . 415.4 Time-dependent functions . . . . . . . . . . . . . . . . . . . . 426 Ordinary differential equations 437 Partial differential equations 457.1 Boundary value problems . . . . . . . . . . . . . . . . . . . . . 457.2 Variational formulation . . . . . . . . . . . . . . . . . . . . . . 467.3 Finite elements and FIAT . . . . . . . . . . . . . . . . . . . . 467.4 Compiling the variational form with FFC . . . . . . . . . . . . 477.5 Element matrices and vectors . . . . . . . . . . . . . . . . . . 477.6 Assemble matrices and vectors . . . . . . . . . . . . . . . . . . 487.7 Specifying boundary conditions and data . . . . . . . . . . . . 497.8 Initial value problems . . . . . . . . . . . . . . . . . . . . . . . 508 Nonlinear solver 538.1 Nonlinear functions . . . . . . . . . . . . . . . . . . . . . . . . 538.2 Newton solver . . . . . . . . . . . . . . . . . . . . . . . . . . . 558.2.1 Linear solver . . . . . . . . . . . . . . . . . . . . . . . 558.2.2 Application of Dirichlet boundary conditions . . . . . . 555

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!