Loading...
Searching...
No Matches
inverseLaplacianProblemTotalHeatMeasure_CG.H
Go to the documentation of this file.
1/*---------------------------------------------------------------------------*\
2 ██╗████████╗██╗ ██╗ █████╗ ██████╗ █████╗ ███████╗██╗ ██╗
3 ██║╚══██╔══╝██║ ██║██╔══██╗██╔════╝██╔══██╗ ██╔════╝██║ ██║
4 ██║ ██║ ███████║███████║██║ ███████║█████╗█████╗ ██║ ██║
5 ██║ ██║ ██╔══██║██╔══██║██║ ██╔══██║╚════╝██╔══╝ ╚██╗ ██╔╝
6 ██║ ██║ ██║ ██║██║ ██║╚██████╗██║ ██║ ██║ ╚████╔╝
7 ╚═╝ ╚═╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝ ╚═╝ ╚═══╝
8
9 * In real Time Highly Advanced Computational Applications for Finite Volumes
10 * Copyright (C) 2017 by the ITHACA-FV authors
11-------------------------------------------------------------------------------
12License
13 This file is part of ITHACA-FV
14 ITHACA-FV is free software: you can redistribute it and/or modify
15 it under the terms of the GNU Lesser General Public License as published by
16 the Free Software Foundation, either version 3 of the License, or
17 (at your option) any later version.
18 ITHACA-FV is distributed in the hope that it will be useful,
19 but WITHOUT ANY WARRANTY; without even the implied warranty of
20 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 GNU Lesser General Public License for more details.
22 You should have received a copy of the GNU Lesser General Public License
23 along with ITHACA-FV. If not, see <http://www.gnu.org/licenses/>.
24Class
25 inverseLaplacianProblemTotalHeatMeasure_CG
26Description
27 A general full order implementation of an inverse problem
28SourceFiles
29 inverseLaplacianProblemTotalHeatMeasure_CG.C
30\*---------------------------------------------------------------------------*/
31
36
37
38#ifndef inverseLaplacianProblemTotalHeatMeasure_CG_H
39#define inverseLaplacianProblemTotalHeatMeasure_CG_H
41#define _USE_MATH_DEFINES
42
46{
47
48 public:
49 // Constructors
52 inverseLaplacianProblemTotalHeatMeasure_CG(int argc, char* argv[]);
54
55 double gIntegral;
56 double gIntegralWeight = 0;
57 double gIntegral_meas = 0;
58
59
60 //--------------------------------------------------------------------------
61
67
68 //--------------------------------------------------------------------------
69
72 void computeGradJ();
73
74
75 //--------------------------------------------------------------------------
76
79 void computeSearchStep();
80
81
82 //--------------------------------------------------------------------------
83
89
90};
91
92#endif
Class to implement a full order inverse laplacian problem.
int conjugateGradientConvergenceCheck()
Convergence cher for the conjugate gradient method.
void computeGradJ()
Computes the gradient of cost function J and its L2 norm.
Implementation of a Alifanov's regularization to solve inverse Laplacian problems.
Header file of the inverseLaplacianProblem_CG class.