DOLFIN
DOLFIN C++ interface
|
#include <CoefficientAssigner.h>
Public Member Functions | |
CoefficientAssigner (Form &form, std::size_t number) | |
Create coefficient assigner for coefficient with given number. | |
~CoefficientAssigner () | |
Destructor. | |
void | operator= (std::shared_ptr< const GenericFunction > coefficient) |
Assign coefficient. | |
This class is used for assignment of coefficients to forms, which allows magic like
a.f = f a.g = g
which will insert the coefficients f and g in the correct positions in the list of coefficients for the form.