33 #ifndef __H__UG__LIB_DISC__CONVECTION_DIFFUSION__CONVECTION_DIFFUSION_BASE__
34 #define __H__UG__LIB_DISC__CONVECTION_DIFFUSION__CONVECTION_DIFFUSION_BASE__
46 namespace ConvectionDiffusionPlugin{
76 template<
typename TDomain>
129 void set_flux(
const std::vector<number>& vVel);
Discretization for the Convection-Diffusion Equation.
Definition: convection_diffusion_base.h:79
DataImport< number, dim > m_imReactionRate
Data import for the reaction term.
Definition: convection_diffusion_base.h:246
DataImport< number, dim > m_imSource
Data import for the right-hand side (volume)
Definition: convection_diffusion_base.h:261
DataImport< number, dim > m_imReactionExpl
Data import for the reaction term explicit.
Definition: convection_diffusion_base.h:255
void set_diffusion(SmartPtr< CplUserData< MathMatrix< dim, dim >, dim > > user)
sets the diffusion tensor
Definition: convection_diffusion_base.cpp:51
SmartPtr< CplUserData< MathVector< dim >, dim > > GradExport
Definition: convection_diffusion_base.h:278
DataImport< number, dim > m_imSourceExpl
Data import for the source term explicit.
Definition: convection_diffusion_base.h:258
DataImport< number, dim > m_imMass
Data import for the mass scale.
Definition: convection_diffusion_base.h:270
IElemDisc< TDomain > base_type
Base class type.
Definition: convection_diffusion_base.h:82
SmartPtr< CplUserData< number, dim > > NumberExport
Definition: convection_diffusion_base.h:277
DataImport< MathVector< dim >, dim > m_imVectorSource
Data import for the right-hand side (vector)
Definition: convection_diffusion_base.h:264
void set_reaction_rate_explicit(SmartPtr< CplUserData< number, dim > > user)
Definition: convection_diffusion_base.cpp:184
void set_reaction_rate(SmartPtr< CplUserData< number, dim > > user)
sets the reaction rate
Definition: convection_diffusion_base.cpp:152
virtual SmartPtr< CplUserData< MathVector< dim >, dim > > gradient()
returns the export of the gradient of associated unknown function
Definition: convection_diffusion_base.cpp:437
virtual SmartPtr< CplUserData< number, dim > > value()
returns the export of the value of associated unknown function
Definition: convection_diffusion_base.cpp:431
void set_reaction(SmartPtr< CplUserData< number, dim > > user)
sets the reaction
Definition: convection_diffusion_base.cpp:210
SmartPtr< DataExport< number, dim > > m_exValue
Export for the concentration.
Definition: convection_diffusion_base.h:288
DataImport< MathVector< dim >, dim > m_imFlux
Data import for the Flux.
Definition: convection_diffusion_base.h:243
DataImport< MathMatrix< dim, dim >, dim > m_imDiffusion
Data import for Diffusion.
Definition: convection_diffusion_base.h:237
void set_velocity(SmartPtr< CplUserData< MathVector< dim >, dim > > user)
sets the velocity field
Definition: convection_diffusion_base.cpp:80
void set_mass_scale(SmartPtr< CplUserData< number, dim > > user)
sets mass scale
Definition: convection_diffusion_base.cpp:364
void set_source(SmartPtr< CplUserData< number, dim > > user)
sets the source / sink term
Definition: convection_diffusion_base.cpp:269
void set_flux(SmartPtr< CplUserData< MathVector< dim >, dim > > user)
sets the flux
Definition: convection_diffusion_base.cpp:116
void init_imports()
Definition: convection_diffusion_base.cpp:445
virtual bool requests_local_time_series()
returns if local time series is needed
Definition: convection_diffusion_base.h:274
ConvectionDiffusionBase(const char *functions, const char *subsets)
Constructor.
Definition: convection_diffusion_base.cpp:472
DataImport< MathVector< dim >, dim > m_imVelocity
Data import for the Velocity field.
Definition: convection_diffusion_base.h:240
void set_vector_source(SmartPtr< CplUserData< MathVector< dim >, dim > > user)
sets the vector source term
Definition: convection_diffusion_base.cpp:329
void set_mass(SmartPtr< CplUserData< number, dim > > user)
sets mass
Definition: convection_diffusion_base.cpp:396
DataImport< number, dim > m_imMassScale
Data import for the mass scale.
Definition: convection_diffusion_base.h:267
DataImport< number, dim > m_imReaction
Data import for the reaction term.
Definition: convection_diffusion_base.h:249
SmartPtr< DataExport< MathVector< dim >, dim > > m_exGrad
Export for the gradient of concentration.
Definition: convection_diffusion_base.h:291
void set_reaction_explicit(SmartPtr< CplUserData< number, dim > > user)
Definition: convection_diffusion_base.cpp:242
DataImport< number, dim > m_imReactionRateExpl
Data import for the reaction_rate term explicit.
Definition: convection_diffusion_base.h:252
static const int dim
World dimension.
Definition: convection_diffusion_base.h:86
void set_source_explicit(SmartPtr< CplUserData< number, dim > > user)
Definition: convection_diffusion_base.cpp:302