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

#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.
 

Detailed Description

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.


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