16#ifndef __H__UG__PLUGINS__D3F__EXTRAVOL__
17#define __H__UG__PLUGINS__D3F__EXTRAVOL__
25template <
typename TDomain>
bool access(Grid &grid, TAttachment &a)
void reset_flags()
clear the flags
Definition extravol.h:80
SmartPtr< domain_type > m_spDomain
domain
Definition extravol.h:149
t_aaVector2 m_aExtraVol
the accessor
Definition extravol.h:156
Grid::VertexAttachmentAccessor< t_aVector2 > t_aaVector2
type of the attachment accessor for the parts of the flux
Definition extravol.h:40
void reset_flux()
clear the flux data
Definition extravol.h:59
void activate_flags()
allocate the attachments for the flags, set the activity flag
Definition extravol.h:88
bool m_bFluxActive
whether flux computations are active, i.e. the attachments for the flux is allocated
Definition extravol.h:152
TDomain::grid_type grid_type
type of the grid (typically Multigrid)
Definition extravol.h:34
TDomain domain_type
type of the domain
Definition extravol.h:31
MathVector< 2 > & value(const Vertex *vrt)
access both the parts
Definition extravol.h:120
t_aFlag m_flags
the attachment
Definition extravol.h:161
bool m_bFlagsActive
whether the outflow flags are active, i.e. the attachment for the flags is allocated
Definition extravol.h:159
t_aaFlag m_aFlags
the accessor
Definition extravol.h:163
t_aVector2 m_extraVol
the attachment
Definition extravol.h:154
FlowVolStabData(SmartPtr< domain_type > dom)
class constructor
Definition extravol.h:52
bool flux_is_active()
whether the flux computations are active
Definition extravol.h:77
ABool t_aFlag
type of the attachment for the flags
Definition extravol.h:43
void set_flag(const Vertex *vrt, bool v)
set the flag
Definition extravol.h:138
bool flag(const Vertex *vrt)
get the flag
Definition extravol.h:129
number & mass(const Vertex *vrt)
access to the mass part
Definition extravol.h:111
Grid::VertexAttachmentAccessor< t_aFlag > t_aaFlag
type of the attachment accessor for the flag
Definition extravol.h:46
AVector2 t_aVector2
type of the attachment for the stiffness and the mass parts of the stabilization
Definition extravol.h:37
number & stiff(const Vertex *vrt)
access to the stiffness part
Definition extravol.h:102
bool flags_are_active()
whether the flags are active
Definition extravol.h:98
void activate_flux()
allocate the attachments for the flux, set the activity flag
Definition extravol.h:67
void SetAttachmentValues(TAttachmentAccessor &aaVal, TIter elemsBegin, TIter elemsEnd, const TVal &val)