Definition at line 1273 of file Schur.cpp.
◆ invertMat()
Definition at line 1275 of file Schur.cpp.
1275 {
1277
1278 const auto nb =
m.size1();
1279#ifndef NDEBUG
1280 if (
nb !=
m.size2()) {
1282 "It should be square matrix %zu != %zu",
nb,
m.size2());
1283 }
1284#endif
1285
1286 inv.resize(
nb,
nb,
false);
1288 m.resize(2 *
nb, 2 *
nb,
false);
1289
1291 int info;
1292
1293
1294
1296 if (info)
1298 "lapack error info = %d", info);
1300 &*
m.data().begin(),
m.data().size());
1301 if (info)
1303 "lapack error info = %d", info);
1304
1306 }
#define MoFEMFunctionBegin
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
@ MOFEM_DATA_INCONSISTENCY
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return()
static __CLPK_integer lapack_dgetrf(__CLPK_integer m, __CLPK_integer n, __CLPK_doublereal *a, __CLPK_integer lda, __CLPK_integer *ipiv)
static __CLPK_integer lapack_dgetri(__CLPK_integer n, __CLPK_doublereal *a, __CLPK_integer lda, __CLPK_integer *ipiv, __CLPK_doublereal *work, __CLPK_integer lwork)
UBlasVector< int > VectorInt
FTensor::Index< 'm', 3 > m
The documentation for this struct was generated from the following file: