LifeV
MonolithicBlockComposedDND.cpp
Go to the documentation of this file.
1 /* -*- mode: c++ -*- */
2 //@HEADER
3 /*
4 *******************************************************************************
5 
6  Copyright (C) 2004, 2005, 2007 EPFL, Politecnico di Milano, INRIA
7  Copyright (C) 2010 EPFL, Politecnico di Milano, Emory University
8 
9  This file is part of LifeV.
10 
11  LifeV is free software; you can redistribute it and/or modify
12  it under the terms of the GNU Lesser General Public License as published by
13  the Free Software Foundation, either version 3 of the License, or
14  (at your option) any later version.
15 
16  LifeV is distributed in the hope that it will be useful,
17  but WITHOUT ANY WARRANTY; without even the implied warranty of
18  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19  Lesser General Public License for more details.
20 
21  You should have received a copy of the GNU Lesser General Public License
22  along with LifeV. If not, see <http://www.gnu.org/licenses/>.
23 
24 *******************************************************************************
25 */
26 //@HEADER
27 
28 #include <lifev/core/LifeV.hpp>
29 
30 #include <lifev/fsi/solver/MonolithicBlockComposedDND.hpp>
31 
32 namespace LifeV
33 {
34 
35 void MonolithicBlockComposedDND::blockAssembling( )
36 {
37  if (!M_swapped)
38  {
39  super_Type::super_Type::super_Type::swap (M_coupling[2], M_coupling[3]);
40  M_swapped = true;
41  }
42 
43  addToCoupling (M_coupling[3], 2);
44 
45  super_Type::blockAssembling();
46 }
47 
48 } // Namespace LifeV
void updateInverseJacobian(const UInt &iQuadPt)