LifeV
pExactFunctor.hpp
Go to the documentation of this file.
1
/* -*- mode: c++ -*-
2
3
This file is part of the LifeV Applications.
4
5
Author(s): Christophe Prud'homme <christophe.prudhomme@epfl.ch>
6
Gwenol Grandperrin <gwenol.grandperrin@epfl.ch>
7
Date: 2011-03-09
8
9
Copyright (C) 2010 EPFL
10
11
This program is free software; you can redistribute it and/or modify
12
it under the terms of the GNU General Public License as published by
13
the Free Software Foundation; either version 2.1 of the License, or
14
(at your option) any later version.
15
16
This program is distributed in the hope that it will be useful, but
17
WITHOUT ANY WARRANTY; without even the implied warranty of
18
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19
General Public License for more details.
20
21
You should have received a copy of the GNU General Public License
22
along with this program; if not, write to the Free Software
23
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
24
USA
25
*/
26
/*!
27
@file pExactFunctor.hpp
28
@author Davide Forti <davide.forti@epfl.ch>
29
@contributor Claudia Colciago <claudia.colciago@epfl.ch>
30
@date 2014-01-31
31
*/
32
33
#
ifndef
PEXACTFUNCTOR_H
34
#
define
PEXACTFUNCTOR_H
1
35
36
#
include
<
lifev
/
core
/
LifeV
.
hpp
>
37
#
include
<
lifev
/
navier_stokes
/
function
/
RossEthierSteinmanDec
.
hpp
>
38
39
namespace
LifeV
40
{
41
42
class
pExactFunctor
43
{
44
public
:
45
typedef
Real
return_Type
;
46
47
return_Type
operator
() (
const
Real
time,
const
VectorSmall<3> spaceCoordinates )
48
{
49
Real
p;
50
p = RossEthierSteinmanUnsteadyDec::pexact( time, spaceCoordinates[0], spaceCoordinates[1], spaceCoordinates[2], 0) ;
51
return
p;
52
}
53
54
pExactFunctor
() {}
55
pExactFunctor
(
const
pExactFunctor
&) {}
56
~
pExactFunctor
() {}
57
};
58
59
}
// end namespace LifeV
60
61
#
endif
// PEXACTFUNCTOR_H
LifeV::pExactFunctor::operator()
return_Type operator()(const Real time, const VectorSmall< 3 > spaceCoordinates)
Definition:
pExactFunctor.hpp:47
LifeV::pExactFunctor::pExactFunctor
pExactFunctor()
Definition:
pExactFunctor.hpp:54
LifeV::pExactFunctor::~pExactFunctor
~pExactFunctor()
Definition:
pExactFunctor.hpp:56
LifeV::pExactFunctor::return_Type
Real return_Type
Definition:
pExactFunctor.hpp:45
ETCurrentFE::updateInverseJacobian
void updateInverseJacobian(const UInt &iQuadPt)
Definition:
ETCurrentFE.cpp:405
LifeV::pExactFunctor
Definition:
pExactFunctor.hpp:42
LifeV::Real
double Real
Generic real data.
Definition:
LifeV.hpp:175
LifeV::pExactFunctor::pExactFunctor
pExactFunctor(const pExactFunctor &)
Definition:
pExactFunctor.hpp:55
lifev-release-doc
lifev
navier_stokes
testsuite
basic_test
pExactFunctor.hpp
Generated on Wed Mar 7 2018 19:51:22 for LifeV by
1.8.13