← Back to team overview

dolfin team mailing list archive

ConstantFunction

 

Is there a reason why a ConstantFunction must be associated with a mesh,

  Function(mesh, 1.0);

It makes the initialisation of a ConstantFunction rather tedious since the mesh must be passed around. If it's not needed, I'll allow a constant function to be initialised without a mesh possible, and just return an error if a user tries to write the function to a VTK file.

Garth


Follow ups