adapt¶
-
dolfin.cpp.fem.
adapt
()¶ Adapt error control object based on adapted mesh
Parameters: - ErrorControl & ec (const) – (
ErrorControl
) The error control object to be adapted - const Mesh > adapted_mesh (std::shared_ptr<) – (
Mesh
) The new mesh - adapt_coefficients (bool) – (bool) Optional argument, default is true. If false, any form coefficients are not explicitly adapted, but pre-adapted coefficients will be transferred.
Return type: std::shared_ptr< ErrorControl >
Returns: ErrorControl
The adapted error control object- ErrorControl & ec (const) – (