LifeV
ReferenceFEHybrid.cpp
Go to the documentation of this file.
1 //@HEADER
2 /*
3 *******************************************************************************
4 
5  Copyright (C) 2004, 2005, 2007 EPFL, Politecnico di Milano, INRIA
6  Copyright (C) 2010 EPFL, Politecnico di Milano, Emory University
7 
8  This file is part of LifeV.
9 
10  LifeV is free software; you can redistribute it and/or modify
11  it under the terms of the GNU Lesser General Public License as published by
12  the Free Software Foundation, either version 3 of the License, or
13  (at your option) any later version.
14 
15  LifeV 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 License
21  along with LifeV. If not, see <http://www.gnu.org/licenses/>.
22 
23 *******************************************************************************
24 */
25 //@HEADER
26 
27 /*!
28  @file
29  @brief Reference finite element for Hdiv space.
30 
31  @author Alessio Fumagalli
32  Samuel Quinodoz <samuel.quinodoz@epfl.ch>
33  @date 10-05-2010
34 
35  @contributor
36  @mantainer Samuel Quinodoz <samuel.quinodoz@epfl.ch>
37  */
38 
39 #include <lifev/core/fem/ReferenceFEHybrid.hpp>
40 
41 namespace LifeV
42 {
43 
44 // ===================================================
45 // Constructors & Destructor
46 // ===================================================
47 
48 // Costructor.
49 ReferenceFEHybrid::ReferenceFEHybrid ( std::string name, FE_TYPE type, ReferenceShapes shape, UInt nbDofPerVertex, UInt nbDofPerEdge,
50  UInt nbDofPerFace, UInt nbDofPerVolume, UInt nbDof, UInt nbLocalCoor, const UInt& numberBoundaryFE,
51  const CurrentFEManifold** boundaryFEList, const Real* refCoor, DofPatternType patternType ) :
52  ReferenceFE ( name, type, shape, nbDofPerVertex, nbDofPerEdge, nbDofPerFace, nbDofPerVolume,
53  nbDof, nbLocalCoor, 1, static_cast<function_Type*> (NULL), static_cast<function_Type*> (NULL),
54  static_cast<function_Type*> (NULL), static_cast<function_Type*> (NULL), refCoor,
55  patternType, static_cast<ReferenceFE*> (NULL) ),
56  M_numberBoundaryFE ( numberBoundaryFE ), M_boundaryFEList ( boundaryFEList )
57 {}
58 
59 // Destructor.
61 {}
62 
63 
64 
65 } // Namespace LifeV
const UInt M_numberBoundaryFE
Number of boundary elements to be stored.
const CurrentFEManifold ** M_boundaryFEList
A class for a finite element on a manifold.
DofPatternType
Local pattern type.
void updateInverseJacobian(const UInt &iQuadPt)
ReferenceFEHybrid(std::string name, FE_TYPE type, ReferenceShapes shape, UInt nbDofPerVertex, UInt nbDofPerEdge, UInt nbDofPerFace, UInt nbDofPerVolume, UInt nbDof, UInt nbLocalCoor, const UInt &numberBoundaryFE, const CurrentFEManifold **boundaryFEList, const Real *refCoor, DofPatternType patternType=STANDARD_PATTERN)
double Real
Generic real data.
Definition: LifeV.hpp:175
The class for a reference Lagrangian finite element.
ReferenceFE(std::string name, FE_TYPE type, ReferenceShapes shape, Int nbDofPerVertex, Int nbDofPerEdge, Int nbDofPerFace, Int nbDofPerVolume, Int nbDof, Int nbLocalCoor, Int FEDim, const function_Type *phi, const function_Type *dPhi, const function_Type *d2Phi, const function_Type *divPhi, const Real *refCoor, DofPatternType patternType, const ReferenceFE *bdRefFE)
Constructor of a reference Lagrangian finite element.
Definition: ReferenceFE.cpp:47
uint32_type UInt
generic unsigned integer (used mainly for addressing)
Definition: LifeV.hpp:191