0.95.0-final
Finite Element Embedded Library and Language in C++
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
oseendata.hpp
Go to the documentation of this file.
1
/* -*- mode: c++; coding: utf-8; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; show-trailing-whitespace: t -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2
3
This file is part of the Feel library
4
5
Author(s): Christophe Prud'homme <christophe.prudhomme@feelpp.org>
6
Date: 2008-11-20
7
8
Copyright (C) 2008-2011 Université Joseph Fourier (Grenoble I)
9
10
This library is free software; you can redistribute it and/or
11
modify it under the terms of the GNU Lesser General Public
12
License as published by the Free Software Foundation; either
13
version 3.0 of the License, or (at your option) any later version.
14
15
This library is distributed in the hope that it will be useful,
16
but WITHOUT ANY WARRANTY; without even the implied warranty of
17
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18
Lesser General Public License for more details.
19
20
You should have received a copy of the GNU Lesser General Public
21
License along with this library; if not, write to the Free Software
22
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
23
*/
29
#ifndef __OseenData_H
30
#define __OseenData_H 1
31
32
namespace
Feel
33
{
41
// struct to hold default values for Oseen
42
struct
OseenDefaults
43
{
44
// Default constructor with default default values
45
OseenDefaults
()
46
:
47
BC_COEFF_DIFF( 100.0 ),
48
BC_COEFF_CONV( 100.0 ),
49
STAB_COEFF_DIV( 0.0 ),
50
STAB_COEFF_P( 0.0 ),
51
EPS_COMPRESS( 0.0 ),
52
DIVDIV_COEFF( 0.0 ),
53
WEAK_DIRICHLET(
true
),
54
EXPORT_MATLAB(
false
)
55
{}
56
57
// coefficient for diffusive terms of weak Dirichlet conditions
58
double
BC_COEFF_DIFF;
59
// coefficient for convective terms of weak Dirichlet conditions
60
double
BC_COEFF_CONV;
61
// coefficient for divergence jump stabilisation
62
double
STAB_COEFF_DIV;
63
// coefficient for pressure gradient jump stabilization
64
double
STAB_COEFF_P;
65
// coefficient for pseudo-compressibility term
66
double
EPS_COMPRESS;
67
// coefficient for divergence penalty term
68
double
DIVDIV_COEFF;
69
// whether to use weak instead of strong dirichlet boundary conditions
70
bool
WEAK_DIRICHLET;
71
// whether to export matrix and vector in matlab format
72
bool
EXPORT_MATLAB;
73
};
74
75
po::options_description
oseen_options
( std::string
const
& prefix=
""
,
76
OseenDefaults
defaults=
OseenDefaults
() );
77
78
}
// Feel
79
#endif
/* __OseenData_H */
Generated on Fri Oct 25 2013 14:24:22 for Feel++ by
1.8.4