Overloaded versions
adapt(mesh)
Refine mesh uniformly
adapt(mesh, cell_markers)
Refine mesh based on cell markers
adapt(space)
Refine function space uniformly
adapt(space, cell_markers)
Refine function space based on cell markers
adapt(space, adapted_mesh)
Refine function space based on refined mesh
adapt(function, adapted_mesh, interpolate=true)
Adapt Function based on adapted mesh
The function that should be adapted
The new mesh
Optional argument, default is true. If false, the function’s function space is adapted, but the values are not interpolated.
The adapted function
adapt(function, adapted_mesh)
Refine GenericFunction based on refined mesh
adapt(mesh_function, adapted_mesh)
Refine mesh function<std::size_t> based on mesh
adapt(bc, adapted_mesh, S)
Refine Dirichlet bc based on refined mesh
adapt(form, adapted_mesh, adapt_coefficients=true)
Adapt form based on adapted mesh
adapt(problem, adapted_mesh)
Refine linear variational problem based on mesh
adapt(problem, adapted_mesh)
Refine nonlinear variational problem based on mesh
adapt(ec, adapted_mesh, adapt_coefficients=true)
Adapt error control object based on adapted mesh
The error control object to be adapted
The new mesh
Optional argument, default is true. If false, any form coefficients are not explicitly adapted, but pre-adapted coefficients will be transferred.
The adapted error control object