ug4
|
#include <adaption_surface_grid_function.h>
Classes | |
class | ValueAccessor |
Public Types | |
typedef Attachment< Values > | AValues |
typedef std::vector< std::vector< number > > | Values |
Public Member Functions | |
AdaptionSurfaceGridFunction (SmartPtr< TDomain > spDomain, bool bObserveStorage=true) | |
template<typename TAlgebra > | |
void | copy_from_surface (const GridFunction< TDomain, TAlgebra > &rSurfaceFct) |
template<typename TAlgebra > | |
void | copy_to_surface (GridFunction< TDomain, TAlgebra > &rSurfaceFct) |
void | do_restrict (const GridMessage_Adaption &msg) |
template<typename TBaseElem > | |
void | obj_created (TBaseElem *elem) |
creates storage when object created | |
void | prolongate (const GridMessage_Adaption &msg) |
AValues | value_attachment () |
virtual void | vertex_created (Grid *grid, Vertex *vrt, GridObject *pParent=NULL, bool replacesParent=false) |
virtual void | edge_created (Grid *grid, Edge *e, GridObject *pParent=NULL, bool replacesParent=false) |
virtual void | face_created (Grid *grid, Face *f, GridObject *pParent=NULL, bool replacesParent=false) |
virtual void | volume_created (Grid *grid, Volume *vol, GridObject *pParent=NULL, bool replacesParent=false) |
![]() | |
virtual void | elements_to_be_cleared (Grid *grid) |
virtual void | grid_to_be_destroyed (Grid *grid) |
virtual | ~GridObserver () |
virtual void | vertex_to_be_erased (Grid *grid, Vertex *vrt, Vertex *replacedBy=NULL) |
Notified whenever an element of the given type is erased from the given grid. | |
virtual void | edge_to_be_erased (Grid *grid, Edge *e, Edge *replacedBy=NULL) |
Notified whenever an element of the given type is erased from the given grid. | |
virtual void | face_to_be_erased (Grid *grid, Face *f, Face *replacedBy=NULL) |
Notified whenever an element of the given type is erased from the given grid. | |
virtual void | volume_to_be_erased (Grid *grid, Volume *vol, Volume *replacedBy=NULL) |
Notified whenever an element of the given type is erased from the given grid. | |
virtual void | vertices_to_be_merged (Grid *grid, Vertex *target, Vertex *elem1, Vertex *elem2) |
Notified when two elements of the same type are going to be merged. | |
virtual void | edges_to_be_merged (Grid *grid, Edge *target, Edge *elem1, Edge *elem2) |
Notified when two elements of the same type are going to be merged. | |
virtual void | faces_to_be_merged (Grid *grid, Face *target, Face *elem1, Face *elem2) |
Notified when two elements of the same type are going to be merged. | |
virtual void | volumes_to_be_merged (Grid *grid, Volume *target, Volume *elem1, Volume *elem2) |
Notified when two elements of the same type are going to be merged. | |
Protected Member Functions | |
void | attach_entries (ConstSmartPtr< DoFDistributionInfo > spDDInfo) |
template<typename TElem , typename TAlgebra > | |
void | copy_from_surface (const GridFunction< TDomain, TAlgebra > &rSurfaceFct) |
template<typename TElem , typename TAlgebra > | |
void | copy_from_surface (const GridFunction< TDomain, TAlgebra > &rSurfaceFct, TElem *elem) |
template<typename TElem , typename TAlgebra > | |
void | copy_to_surface (GridFunction< TDomain, TAlgebra > &rSurfaceFct) |
template<typename TElem , typename TAlgebra > | |
void | copy_to_surface (GridFunction< TDomain, TAlgebra > &rSurfaceFct, TElem *elem) |
template<typename TElem > | |
void | detach_entries () |
void | detach_entries () |
template<typename TBaseElem > | |
void | do_restrict (const MGSelector &sel, const GridMessage_Adaption &msg) |
template<typename TBaseElem > | |
void | prolongate (const GridMessage_Adaption &msg, const size_t lvl) |
template<typename TBaseElem > | |
void | select_parents (MGSelector &sel, const GridMessage_Adaption &msg) |
Protected Attributes | |
MultiElementAttachmentAccessor< AValues > | m_aaValue |
AValues | m_aValue |
bool | m_bObserveStorage |
int | m_ParallelStorageType |
ConstSmartPtr< DoFDistributionInfo > | m_spDDInfo |
SmartPtr< TDomain > | m_spDomain |
SmartPtr< MultiGrid > | m_spGrid |
std::vector< SmartPtr< IElemProlongation< TDomain > > > | m_vpProlong |
std::vector< SmartPtr< IElemRestriction< TDomain > > > | m_vpRestrict |
Friends | |
class | ValueAccessor |
typedef Attachment<Values> ug::AdaptionSurfaceGridFunction< TDomain >::AValues |
typedef std::vector<std::vector<number> > ug::AdaptionSurfaceGridFunction< TDomain >::Values |
ug::AdaptionSurfaceGridFunction< TDomain >::AdaptionSurfaceGridFunction | ( | SmartPtr< TDomain > | spDomain, |
bool | bObserveStorage = true |
||
) |
|
protected |
void ug::AdaptionSurfaceGridFunction< TDomain >::copy_from_surface | ( | const GridFunction< TDomain, TAlgebra > & | rSurfaceFct | ) |
|
protected |
|
protected |
References ug::DoFRef(), and ug::GridFunction< TDomain, TAlgebra >::inner_dof_indices().
void ug::AdaptionSurfaceGridFunction< TDomain >::copy_to_surface | ( | GridFunction< TDomain, TAlgebra > & | rSurfaceFct | ) |
References ug::EDGE, ug::FACE, GFUNCADAPT_PROFILE_FUNC, ug::DoFDistributionInfoProvider::max_dofs(), ug::VERTEX, and ug::VOLUME.
|
protected |
|
protected |
|
protected |
References UG_THROW.
|
protected |
void ug::AdaptionSurfaceGridFunction< TDomain >::do_restrict | ( | const GridMessage_Adaption & | msg | ) |
|
protected |
References ug::MGSelector::begin(), ug::MGSelector::end(), make_sp(), and ug::MGSelector::num_levels().
|
inlinevirtual |
grid observer callbacks
Reimplemented from ug::GridObserver.
References ug::AdaptionSurfaceGridFunction< TDomain >::obj_created().
|
inlinevirtual |
grid observer callbacks
Reimplemented from ug::GridObserver.
References ug::AdaptionSurfaceGridFunction< TDomain >::obj_created().
|
inline |
creates storage when object created
Referenced by ug::AdaptionSurfaceGridFunction< TDomain >::edge_created(), ug::AdaptionSurfaceGridFunction< TDomain >::face_created(), ug::AdaptionSurfaceGridFunction< TDomain >::vertex_created(), and ug::AdaptionSurfaceGridFunction< TDomain >::volume_created().
void ug::AdaptionSurfaceGridFunction< TDomain >::prolongate | ( | const GridMessage_Adaption & | msg | ) |
|
protected |
|
protected |
|
inline |
|
inlinevirtual |
grid observer callbacks
Reimplemented from ug::GridObserver.
References ug::AdaptionSurfaceGridFunction< TDomain >::obj_created().
|
inlinevirtual |
grid observer callbacks
Reimplemented from ug::GridObserver.
References ug::AdaptionSurfaceGridFunction< TDomain >::obj_created().
|
friend |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |