assign

dolfin.cpp.function.assign()

Assign sub functions of a single mixed function to single receiving functions. The number of sub functions in the assigning mixed function must sum up to the number of receiving functions. The sub spaces of the receiving mixed space must be of the same type ans size as the assigning spaces.

Parameters:
  • std::shared_ptr< Function >> receiving_funcs (std::vector<) – (std::vector<std::shared_ptr<Function >>) The receiving functions
  • const Function > assigning_func (std::shared_ptr<) – (std::shared_ptr<Function >) The assigning function
Return type:

void