DOLFIN User Manual - FEniCS Project

DOLFIN User Manual - FEniCS Project DOLFIN User Manual - FEniCS Project

fenicsproject.org
from fenicsproject.org More from this publisher
12.07.2015 Views

DOLFIN User ManualHoffman, Jansson, Logg, Wellsclass MyNonlinearFunction : public NonlinearFunction{public:// ConstructorMyNonlinearFunction() : NonlinearFunction(){}// Compute F(u)void F(Vector& b, const Vector& x){// Insert F(u) into the vector b}// Compute Jvoid J(Matrix& A, const Vector& x){// Insert the Jacobian into the matrix A}dolfin::uint size(){// Return the dimension of the Jacobian matrix}dolfin::uint nzsize(){// Return the maximum number of zeroes per row of J}private:// Pointers to objects with which F(u) is defined};54

DOLFIN User ManualHoffman, Jansson, Logg, Wells8.2 Newton solver8.2.1 Linear solver8.2.2 Application of Dirichlet boundary conditionsThe application of inhomogenuous Dirichlet boundary conditions in the contextof a Newton solver requires particular attention.8.2.3 Newton solver parameters8.2.4 Application of Dirichlet boundary conditions8.3 Incremental Newton solver55

<strong>DOLFIN</strong> <strong>User</strong> <strong>Manual</strong>Hoffman, Jansson, Logg, Wells8.2 Newton solver8.2.1 Linear solver8.2.2 Application of Dirichlet boundary conditionsThe application of inhomogenuous Dirichlet boundary conditions in the contextof a Newton solver requires particular attention.8.2.3 Newton solver parameters8.2.4 Application of Dirichlet boundary conditions8.3 Incremental Newton solver55

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

Saved successfully!

Ooh no, something went wrong!