Plugins
ug::ConvectionDiffusionPlugin::cd_sss_data< dim > Class Template Reference

class for data for all the CD plugin sources and sinks More...

#include <convection_diffusion_sss.h>

+ Inheritance diagram for ug::ConvectionDiffusionPlugin::cd_sss_data< dim >:

Public Types

typedef SmartPtr< CplUserData< number, dim > > user_data_type
 

Public Member Functions

 cd_sss_data ()
 class construction (there must exist a 'dummy' constructor!) More...
 
void compute (const MathVector< dim > &x, number time, int si)
 computes the data from the user data object More...
 
number flux ()
 returns the flux More...
 
void set (number flux)
 sets the data More...
 
void set (user_data_type spData)
 sets the data by an object More...
 

Protected Attributes

user_data_type m_spData
 an alternative method to specify the data More...
 
number m_values
 

Detailed Description

template<int dim>
class ug::ConvectionDiffusionPlugin::cd_sss_data< dim >

class for data for all the CD plugin sources and sinks

Member Typedef Documentation

◆ user_data_type

Constructor & Destructor Documentation

◆ cd_sss_data()

class construction (there must exist a 'dummy' constructor!)

References ug::ConvectionDiffusionPlugin::cd_sss_data< dim >::m_values.

Member Function Documentation

◆ compute()

template<int dim>
void ug::ConvectionDiffusionPlugin::cd_sss_data< dim >::compute ( const MathVector< dim > &  x,
number  time,
int  si 
)
inline

computes the data from the user data object

Parameters
xpoint where to evaluate
timetime argument for the evaluation
sisubset where to evaluate

References ug::ConvectionDiffusionPlugin::cd_sss_data< dim >::m_spData, ug::ConvectionDiffusionPlugin::cd_sss_data< dim >::m_values, and SmartPtr< class, FreePolicy >::valid().

◆ flux()

◆ set() [1/2]

◆ set() [2/2]

template<int dim>
void ug::ConvectionDiffusionPlugin::cd_sss_data< dim >::set ( user_data_type  spData)
inline

sets the data by an object

References ug::ConvectionDiffusionPlugin::cd_sss_data< dim >::m_spData.

Member Data Documentation

◆ m_spData

◆ m_values


The documentation for this class was generated from the following file: