OGS 6.2.0-97-g4a610c866
EigenTools.h
Go to the documentation of this file.
1 
10 #pragma once
11 
12 #include <vector>
13 #include <logog/include/logog.hpp>
14 
15 #include "BaseLib/Error.h"
16 #include "EigenMatrix.h" // for EigenMatrix::IndexType
17 
18 namespace MathLib
19 {
20 class EigenVector;
21 
32 void applyKnownSolution(EigenMatrix &A, EigenVector &b, EigenVector &/*x*/,
33  const std::vector<EigenMatrix::IndexType> &_vec_knownX_id,
34  const std::vector<double> &_vec_knownX_x, double penalty_scaling = 1e+10);
35 
36 inline
37 void applyKnownSolution(Eigen::MatrixXd &A, Eigen::VectorXd &b, Eigen::VectorXd &/*x*/,
38  const std::vector<Eigen::MatrixXd::Index> &_vec_knownX_id,
39  const std::vector<double> &_vec_knownX_x, double penalty_scaling = 1e+10)
40 {
41  (void) A; (void) b; (void) _vec_knownX_id; (void) _vec_knownX_x;
42  (void) penalty_scaling;
43 
44  OGS_FATAL("Method not implemented."); // TODO implement
45 }
46 
47 } // namespace MathLib
void applyKnownSolution(EigenMatrix &A_, EigenVector &b_, EigenVector &, const std::vector< EigenMatrix::IndexType > &vec_knownX_id, const std::vector< double > &vec_knownX_x, double)
Definition: EigenTools.cpp:19
#define OGS_FATAL(fmt,...)
Definition: Error.h:63