33 #ifndef __H__UG__PLUGINS__NAVIER_STOKES__NAVIER_STOKES_BASE__
34 #define __H__UG__PLUGINS__NAVIER_STOKES__NAVIER_STOKES_BASE__
141 template<
typename TDomain>
160 NavierStokesBase(
const std::vector<std::string>& vFct,
const std::vector<std::string>& vSubset);
187 void set_source(
const std::vector<number>& vSource);
function NavierStokes(fcts, subsets, discType)
Finite Volume Element Discretization for the incompressible Navier-Stokes Equation.
Definition: navier_stokes_base.h:144
static const int dim
World dimension.
Definition: navier_stokes_base.h:154
NavierStokesBase< TDomain > this_type
own type
Definition: navier_stokes_base.h:150
virtual SmartPtr< CplUserData< number, dim > > kinematic_viscosity()=0
returns kinematic viscosity
IElemDisc< TDomain > base_type
Base class type.
Definition: navier_stokes_base.h:147
number m_bFullNewtonFactor
factor for exact jacobian, (1 for exact jacobian, 0 for fix point)
Definition: navier_stokes_base.h:207
virtual bool requests_local_time_series()
returns if local time series is needed
Definition: navier_stokes_base.h:200
void set_exact_jacobian(bool bExactJacobian)
sets if the exact jacobian is computed (fixpoint approximation else)
Definition: navier_stokes_base.h:194
virtual void set_source(SmartPtr< CplUserData< MathVector< dim >, dim > > user)=0
sets the source function
virtual void set_kinematic_viscosity(SmartPtr< CplUserData< number, dim > > user)=0
sets the kinematic viscosity
virtual std::string disc_type() const =0
returns string identifying disc type
void set_exact_jacobian(number fullNewtonFactor)
Definition: navier_stokes_base.h:196
NavierStokesBase(const char *functions, const char *subsets)
Definition: navier_stokes_base.cpp:54