LifeV
MultiscaleAlgorithmNewton.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 Newton Algorithm
30  *
31  * @date 26-10-2009
32  * @author Cristiano Malossi <cristiano.malossi@epfl.ch>
33  *
34  * @maintainer Cristiano Malossi <cristiano.malossi@epfl.ch>
35  */
36 
37 #ifndef MultiscaleAlgorithmNewton_H
38 #define MultiscaleAlgorithmNewton_H 1
39 
40 #include <lifev/core/algorithm/LinearSolver.hpp>
41 
42 #include <lifev/multiscale/algorithms/MultiscaleAlgorithm.hpp>
43 
44 namespace LifeV
45 {
46 namespace Multiscale
47 {
48 
49 //! MultiscaleAlgorithmNewton - The Multiscale Algorithm implementation of Newton
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 MultiscaleAlgorithmNewton is an implementation of multiscaleAlgorithm_Type
58  * which implements the Newton method.
59  */
61 {
62 public:
63 
64  //! @name Constructors & Destructor
65  //@{
66 
67  //! Constructor
68  explicit MultiscaleAlgorithmNewton();
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  //@}
89 
90 private:
91 
92  //! @name Unimplemented Methods
93  //@{
94 
96 
98 
99  //@}
100 
101 
102  //! @name Private Methods
103  //@{
104 
105  void assembleJacobianMatrix();
106 
107  //@}
108 
111 };
112 
113 //! Factory create function
115 {
116  return new MultiscaleAlgorithmNewton();
117 }
118 
119 } // Namespace Multiscale
120 } // Namespace LifeV
121 
122 #endif /* MultiscaleAlgorithmNewton_H */
multiscaleAlgorithm_Type * createMultiscaleAlgorithmNewton()
Factory create function.
MultiscaleAlgorithmNewton - The Multiscale Algorithm implementation of Newton.
void updateInverseJacobian(const UInt &iQuadPt)
void setupData(const std::string &fileName)
Setup the data of the algorithm using a data file.
MultiscaleAlgorithmNewton & operator=(const MultiscaleAlgorithmNewton &algorithm)
MultiscaleAlgorithmNewton(const MultiscaleAlgorithmNewton &algorithm)
LinearSolver - Class to wrap linear solver.
MultiscaleAlgorithm multiscaleAlgorithm_Type
void subIterate()
Perform sub-iteration on the coupling variables.
std::shared_ptr< multiscaleMatrix_Type > multiscaleMatrixPtr_Type