adapt.h¶
Note
The documentation on this page was automatically extracted from the DOLFIN C++ code and may need to be edited or expanded.
-
const Mesh &
adapt
(const Mesh &mesh, const MeshFunction<bool> &cell_markers)¶ Refine mesh based on cell markers
-
const FunctionSpace &
adapt
(const FunctionSpace &space)¶ Refine function space uniformly
-
const FunctionSpace &
adapt
(const FunctionSpace &space, const MeshFunction<bool> &cell_markers)¶ Refine function space based on cell markers
Refine function space based on refined mesh
Adapt Function based on adapted mesh
Refine GenericFunction based on refined mesh
Refine mesh function<std::size_t> based on mesh
Refine Dirichlet bc based on refined mesh
-
void
adapt_markers
(std::vector<std::size_t> &refined_markers, const Mesh &adapted_mesh, const std::vector<std::size_t> &markers, const Mesh &mesh)¶ Helper function for refinement of boundary conditions
Adapt form based on adapted mesh
Refine linear variational problem based on mesh
Refine nonlinear variational problem based on mesh
Adapt error control object based on adapted mesh
- Arguments
- ec (
ErrorControl
) - The error control object to be adapted
- adapted_mesh (
Mesh
) - The new mesh
- adapt_coefficients (bool)
- Optional argument, default is true. If false, any form coefficients are not explicitly adapted, but pre-adapted coefficients will be transferred.
- ec (
- Returns
- _ErrorControl__
- The adapted error control object