33#ifndef __H__UG__NAVIER_STOKES__UPWIND__
34#define __H__UG__NAVIER_STOKES__UPWIND__
38#define UG_NSUPWIND_ASSERT(cond, exp) UG_ASSERT((cond), exp)
72 template <
typename TElem>
80 template <
typename TElem>
88 template <
typename TElem>
117 template <
typename TElem>
125 template <
typename TElem>
133 template <
typename TElem>
160 NavierStokesWeightedUpwind(number weight = 0.5) : m_weight(weight)
162 this->set_shape_ip_flag(false);
165 void set_weight(number weight) {m_weight = weight;}
168 template <typename TElem>
169 static void compute(const CRFVGeometry<TElem, dim>* geo,
170 const MathVector<dim> vIPVel[maxNumSCVF],
171 number vUpShapeSh[maxNumSCVF][maxNumSH],
172 number vUpShapeIp[maxNumSCVF][maxNumSCVF],
173 number vConvLength[maxNumSCVF]);
199 template <
typename TElem>
207 template <
typename TElem>
235 template <
typename TElem>
243 template <
typename TElem>
271 template <
typename TElem>
298 template <
typename TElem>
function NavierStokes(fcts, subsets, discType)
Definition upwind_interface.h:57
void set_shape_ip_flag(bool flag)
sets the shape ip flag
Definition upwind_interface.h:173
static const size_t maxNumSH
max number of shape functions
Definition upwind_interface.h:67
static const size_t maxNumSCVF
max number of SubControlVolumeFaces
Definition upwind_interface.h:64
NavierStokesFullUpwind()
constructor
Definition upwind.h:114
static const size_t maxNumSH
Definition upwind.h:110
static const size_t maxNumSCVF
Definition upwind.h:109
static void compute(const FV1Geometry< TElem, dim > *geo, const MathVector< dim > vIPVel[maxNumSCVF], number vUpShapeSh[maxNumSCVF][maxNumSH], number vUpShapeIp[maxNumSCVF][maxNumSCVF], number vConvLength[maxNumSCVF])
update of values for FV1Geometry
Definition upwind.cpp:137
INavierStokesUpwind< dim > base_type
Definition upwind.h:108
static const size_t maxNumSCVF
Definition upwind.h:227
NavierStokesLinearProfileSkewedUpwind()
constructor
Definition upwind.h:232
static void compute(const FV1Geometry< TElem, dim > *geo, const MathVector< dim > vIPVel[maxNumSCVF], number vUpShapeSh[maxNumSCVF][maxNumSH], number vUpShapeIp[maxNumSCVF][maxNumSCVF], number vConvLength[maxNumSCVF])
update of values for FV1Geometry
Definition upwind.cpp:509
static const size_t maxNumSH
Definition upwind.h:228
INavierStokesUpwind< dim > base_type
Definition upwind.h:226
INavierStokesUpwind< dim > base_type
Definition upwind.h:63
NavierStokesNoUpwind()
constructor
Definition upwind.h:69
static void compute(const FV1Geometry< TElem, dim > *geo, const MathVector< dim > vIPVel[maxNumSCVF], number vUpShapeSh[maxNumSCVF][maxNumSH], number vUpShapeIp[maxNumSCVF][maxNumSCVF], number vConvLength[maxNumSCVF])
update of values for FV1Geometry
Definition upwind.cpp:56
static const size_t maxNumSCVF
Definition upwind.h:64
static const size_t maxNumSH
Definition upwind.h:65
static void compute(const FV1Geometry< TElem, dim > *geo, const MathVector< dim > vIPVel[maxNumSCVF], number vUpShapeSh[maxNumSCVF][maxNumSH], number vUpShapeIp[maxNumSCVF][maxNumSCVF], number vConvLength[maxNumSCVF])
update of values for FV1Geometry
Definition upwind.cpp:647
static const size_t maxNumSH
Definition upwind.h:264
INavierStokesUpwind< dim > base_type
Definition upwind.h:262
NavierStokesPositiveUpwind()
constructor
Definition upwind.h:268
static const size_t maxNumSCVF
Definition upwind.h:263
static const size_t maxNumSCVF
Definition upwind.h:290
NavierStokesRegularUpwind()
constructor
Definition upwind.h:295
static const size_t maxNumSH
Definition upwind.h:291
INavierStokesUpwind< dim > base_type
Definition upwind.h:289
static void compute(const FV1Geometry< TElem, dim > *geo, const MathVector< dim > vIPVel[maxNumSCVF], number vUpShapeSh[maxNumSCVF][maxNumSH], number vUpShapeIp[maxNumSCVF][maxNumSCVF], number vConvLength[maxNumSCVF])
update of values for FV1Geometry
Definition upwind.cpp:796
INavierStokesUpwind< dim > base_type
Definition upwind.h:190
static const size_t maxNumSH
Definition upwind.h:192
static const size_t maxNumSCVF
Definition upwind.h:191
NavierStokesSkewedUpwind()
constructor
Definition upwind.h:196
static void compute(const FV1Geometry< TElem, dim > *geo, const MathVector< dim > vIPVel[maxNumSCVF], number vUpShapeSh[maxNumSCVF][maxNumSH], number vUpShapeIp[maxNumSCVF][maxNumSCVF], number vConvLength[maxNumSCVF])
update of values for FV1Geometry
Definition upwind.cpp:385
Definition upwind_interface.h:362