36 #ifndef __H__UG__PLUGINS__CD__SINGULAR_SOURCES_AND_SINKS__
37 #define __H__UG__PLUGINS__CD__SINGULAR_SOURCES_AND_SINKS__
50 namespace ConvectionDiffusionPlugin {
84 (* m_spData) (
m_values, x, time, si);
Definition: convection_diffusion_sss.h:194
cd_point_sss_data< dim > user_data_type
Definition: convection_diffusion_sss.h:196
Definition: convection_diffusion_sss.h:190
Definition: convection_diffusion_sss.h:189
class for data for all the CD plugin sources and sinks
Definition: convection_diffusion_sss.h:55
void compute(const MathVector< dim > &x, number time, int si)
computes the data from the user data object
Definition: convection_diffusion_sss.h:77
number m_values
Definition: convection_diffusion_sss.h:63
user_data_type m_spData
an alternative method to specify the data
Definition: convection_diffusion_sss.h:65
cd_sss_data()
class construction (there must exist a 'dummy' constructor!)
Definition: convection_diffusion_sss.h:70
number flux()
returns the flux
Definition: convection_diffusion_sss.h:73
void set(user_data_type spData)
sets the data by an object
Definition: convection_diffusion_sss.h:95
SmartPtr< CplUserData< number, dim > > user_data_type
Definition: convection_diffusion_sss.h:57
void set(number flux)
sets the data
Definition: convection_diffusion_sss.h:88
Definition: convection_diffusion_sss.h:143
bool marked_for(IVertexGroup *elem, size_t co)
check and set the element mark (use it only for fractures!)
Definition: convection_diffusion_sss.h:167
std::vector< t_fract_elem > m_intersections
array keeping the elements from different(!) fractures
Definition: convection_diffusion_sss.h:156
line_sss_marker()
class constructor
Definition: convection_diffusion_sss.h:161
void init()
reset the mark
Definition: convection_diffusion_sss.h:164
Definition: convection_diffusion_sss.h:113
size_t m_co
corner of the element (not to take it into account twice inside of the element)
Definition: convection_diffusion_sss.h:115
point_sss_marker()
class constructor
Definition: convection_diffusion_sss.h:120
bool marked_for(GridObject *elem, size_t co)
check and set the element mark
Definition: convection_diffusion_sss.h:126
GridObject * m_elem
grid element for the source/sink (not to take it into account twice)
Definition: convection_diffusion_sss.h:114
void init()
resets the mark
Definition: convection_diffusion_sss.h:123
virtual size_t num_vertices() const=0
virtual Vertex * vertex(size_t index) const=0
const NullSmartPtr SPNULL
SmartPtr< T, FreePolicy > make_sp(T *inst)
a special structure to identify the element and its corner in a fracture
Definition: convection_diffusion_sss.h:148
t_fract_elem(IVertexGroup *face, size_t co)
Definition: convection_diffusion_sss.h:152
size_t fract_co
Definition: convection_diffusion_sss.h:150
IVertexGroup * fract_face
Definition: convection_diffusion_sss.h:149