LifeV
MultiscaleAlgorithmAitken.hpp
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 File containing the Multiscale Aitken Algorithm
30  *
31  * @date 23-10-2009
32  * @author Cristiano Malossi <cristiano.malossi@epfl.ch>
33  *
34  * @maintainer Cristiano Malossi <cristiano.malossi@epfl.ch>
35  */
36 
37 #ifndef MultiscaleAlgorithmAitken_H
38 #define MultiscaleAlgorithmAitken_H 1
39 
40 #include <lifev/core/algorithm/NonLinearAitken.hpp>
41 
42 #include <lifev/multiscale/algorithms/MultiscaleAlgorithm.hpp>
43 
44 namespace LifeV
45 {
46 namespace Multiscale
47 {
48 
49 //! MultiscaleAlgorithmAitken - The Multiscale Algorithm implementation of Aitken
50 /*!
51  * @author Cristiano Malossi
52  *
53  * @see Full description of the Geometrical Multiscale Framework: \cite Malossi-Thesis
54  * @see Methodology: \cite Malossi2011Algorithms \cite Malossi2011Algorithms1D \cite Malossi2011Algorithms3D1DFSI \cite BlancoMalossi2012
55  * @see Applications: \cite Malossi2011Algorithms3D1DFSIAortaIliac \cite LassilaMalossi2012IdealLeftVentricle \cite BonnemainMalossi2012LVAD
56  *
57  * The MultiscaleAlgorithmAitken is an implementation of multiscaleAlgorithm_Type
58  * which implements the Aitken method.
59  */
61 {
62 public:
63 
64  //! @name Constructors & Destructor
65  //@{
66 
67  //! Constructor
68  explicit MultiscaleAlgorithmAitken();
69 
70  //! Destructor
72 
73  //@}
74 
75 
76  //! @name Multiscale Algorithm Virtual Methods
77  //@{
78 
79  //! Setup the data of the algorithm using a data file
80  /*!
81  * @param FileName Name of the data file.
82  */
83  void setupData ( const std::string& fileName );
84 
85  //! Perform sub-iteration on the coupling variables
86  void subIterate();
87 
88  //! Display some information about the algorithm
89  void showMe();
90 
91  //@}
92 
93  //! @name Set Methods
94  //@{
95 
96  //! Set the the main parameters of the algorithm (tolerance, maximum number of subiterations, etc.)
97  /*!
98  * @param parameterList teuchos list of parameters
99  */
100  void setAlgorithmParameters ( const multiscaleParameterList_Type& parameterList );
101 
102  //@}
103 
104 private:
105 
106  //! @name Unimplemented Methods
107  //@{
108 
110 
112 
113  //@}
114 
116  {
118  };
119 
123 
124 };
125 
126 //! Factory create function
128 {
129  return new MultiscaleAlgorithmAitken();
130 }
131 
132 } // Namespace Multiscale
133 } // Namespace LifeV
134 
135 #endif /* MultiscaleAlgorithmAitken_H */
multiscaleAlgorithm_Type * createMultiscaleAlgorithmAitken()
Factory create function.
void showMe()
Display some information about the algorithm.
void subIterate()
Perform sub-iteration on the coupling variables.
MultiscaleAlgorithmAitken - The Multiscale Algorithm implementation of Aitken.
NonLinearAitken< multiscaleVector_Type > M_generalizedAitken
void updateInverseJacobian(const UInt &iQuadPt)
void setupData(const std::string &fileName)
Setup the data of the algorithm using a data file.
MultiscaleAlgorithmAitken(const MultiscaleAlgorithmAitken &algorithm)
MultiscaleAlgorithm multiscaleAlgorithm_Type
LinearSolver::parameterList_Type multiscaleParameterList_Type
void setAlgorithmParameters(const multiscaleParameterList_Type &parameterList)
Set the the main parameters of the algorithm (tolerance, maximum number of subiterations, etc.)
MultiscaleAlgorithmAitken & operator=(const MultiscaleAlgorithmAitken &algorithm)
VectorEpetra multiscaleVector_Type