DOLFIN
DOLFIN C++ interface
Public Member Functions | Static Public Member Functions | List of all members
dolfin::LinearVariationalSolver Class Reference

This class implements a solver for linear variational problems. More...

#include <LinearVariationalSolver.h>

Inheritance diagram for dolfin::LinearVariationalSolver:
Inheritance graph
[legend]
Collaboration diagram for dolfin::LinearVariationalSolver:
Collaboration graph
[legend]

Public Member Functions

 LinearVariationalSolver (std::shared_ptr< LinearVariationalProblem > problem)
 Create linear variational solver for given problem.
 
void solve ()
 Solve variational problem.
 
- Public Member Functions inherited from dolfin::Variable
 Variable ()
 Create unnamed variable.
 
 Variable (const std::string name, const std::string label)
 Create variable with given name and label.
 
 Variable (const Variable &variable)
 Copy constructor.
 
virtual ~Variable ()
 Destructor.
 
const Variableoperator= (const Variable &variable)
 Assignment operator.
 
void rename (const std::string name, const std::string label)
 Rename variable.
 
std::string name () const
 Return name.
 
std::string label () const
 Return label (description)
 
std::size_t id () const
 
virtual std::string str (bool verbose) const
 Return informal string representation (pretty-print)
 

Static Public Member Functions

static Parameters default_parameters ()
 Default parameter values.
 

Additional Inherited Members

- Public Attributes inherited from dolfin::Variable
Parameters parameters
 Parameters.
 

Detailed Description

This class implements a solver for linear variational problems.


The documentation for this class was generated from the following files: