Hermes2D
2.0
|
Class for creating reference space. More...
#include <space.h>
Public Member Functions | |
ReferenceSpaceCreator (const Space< Scalar > *coarse_space, const Mesh *ref_mesh, unsigned int order_increase=1) | |
virtual void | handle_orders (Space< Scalar > *ref_space) |
virtual Space< Scalar > * | create_ref_space (bool assign_dofs=true) |
Methods that user calls to get the reference space pointer (has to be properly casted if necessary). More... | |
Class for creating reference space.
Hermes::Hermes2D::Space< Scalar >::ReferenceSpaceCreator::ReferenceSpaceCreator | ( | const Space< Scalar > * | coarse_space, |
const Mesh * | ref_mesh, | ||
unsigned int | order_increase = 1 |
||
) |
|
virtual |
Methods that user calls to get the reference space pointer (has to be properly casted if necessary).
Initialization.
Call to the OVERRIDABLE handling method.
Finish - MUST BE CALLED BEFORE RETURN.
Return.
Definition at line 668 of file space.cpp.
Referenced by Hermes::Hermes2D::Adapt< Scalar >::calc_err_exact().
|
virtual |
Method that does the creation. THIS IS THE METHOD TO OVERLOAD FOR CUSTOM CREATING OF A REFERENCE SPACE.
This is the default setup, we ALWAYS increase by attribute of this functor class: 'order_increase'. This is OVERRIDABLE. Plus when overriding, one does not have to care about min / max possible values (due to shapeset, Space requirements). These are guarded internally.