Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
fem
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
gmsh
fem
Merge requests
!37
pretty print
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
pretty print
print-info
into
master
Overview
0
Commits
7
Pipelines
5
Changes
35
Merged
Christophe Geuzaine
requested to merge
print-info
into
master
3 years ago
Overview
0
Commits
7
Pipelines
5
Changes
35
Expand
print system + petsc solver info for each solve
improve messages
0
0
Merge request reports
Compare
master
version 4
89eb8127
3 years ago
version 3
3c522f03
3 years ago
version 2
6621d149
3 years ago
version 1
cbcc52dc
3 years ago
master (base)
and
latest version
latest version
c2485757
7 commits,
3 years ago
version 4
89eb8127
4 commits,
3 years ago
version 3
3c522f03
3 commits,
3 years ago
version 2
6621d149
2 commits,
3 years ago
version 1
cbcc52dc
1 commit,
3 years ago
35 files
+
176
−
151
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
35
Search (e.g. *.vue) (Ctrl+P)
src/algebra/AlgebraicFunctions.cpp
+
6
−
6
Options
@@ -21,7 +21,7 @@ namespace gmshfem
void
eigenvalues
(
Vector
<
scalar
::
ComplexPrecision
<
T_Scalar
>
>
&
eigenvalues
,
Matrix
<
T_Scalar
>
&
matrix
,
const
bool
symmetric
,
const
unsigned
long
long
numberOfEigenvalues
)
{
if
(
!
matrix
.
isSquare
())
{
msg
::
error
<<
"Cannot compute
d
eigenvalues of non-square matrix"
<<
msg
::
endl
;
msg
::
error
<<
"Cannot compute eigenvalues of non-square matrix"
<<
msg
::
endl
;
return
;
}
try
{
@@ -54,7 +54,7 @@ namespace gmshfem
eigenvalues
=
std
::
move
(
eig
);
#else
msg
::
error
<<
"
Unable to
compute eigenvalues without SLEPc"
<<
msg
::
endl
;
msg
::
error
<<
"
Cannot
compute eigenvalues without SLEPc"
<<
msg
::
endl
;
#endif
}
catch
(
const
std
::
exception
&
exc
)
{
@@ -72,11 +72,11 @@ namespace gmshfem
void
eigenvalues
(
Vector
<
scalar
::
ComplexPrecision
<
T_Scalar
>
>
&
eigenvalues
,
Matrix
<
T_Scalar
>
&
left
,
Matrix
<
T_Scalar
>
&
right
,
const
bool
symmetric
,
const
unsigned
long
long
numberOfEigenvalues
)
{
if
(
!
left
.
isSquare
()
||
!
right
.
isSquare
())
{
msg
::
error
<<
"Cannot compute
d
eigenvalues of non-square matrix"
<<
msg
::
endl
;
msg
::
error
<<
"Cannot compute eigenvalues of non-square matrix"
<<
msg
::
endl
;
return
;
}
if
(
left
.
size
(
0
)
!=
right
.
size
(
0
)
||
left
.
size
(
1
)
!=
right
.
size
(
1
))
{
msg
::
error
<<
"Left and right marices are not of the same size"
<<
msg
::
endl
;
msg
::
error
<<
"Left and right ma
t
rices are not of the same size"
<<
msg
::
endl
;
return
;
}
try
{
@@ -109,7 +109,7 @@ namespace gmshfem
eigenvalues
=
std
::
move
(
eig
);
#else
msg
::
error
<<
"
Unable to
compute eigenvalues without SLEPc"
<<
msg
::
endl
;
msg
::
error
<<
"
Cannot
compute eigenvalues without SLEPc"
<<
msg
::
endl
;
#endif
}
catch
(
const
std
::
exception
&
exc
)
{
@@ -154,7 +154,7 @@ namespace gmshfem
singularValues
=
std
::
move
(
sigma
);
#else
msg
::
error
<<
"
Unable to
compute singular values without SLEPc"
<<
msg
::
endl
;
msg
::
error
<<
"
Cannot
compute singular values without SLEPc"
<<
msg
::
endl
;
#endif
}
catch
(
const
std
::
exception
&
exc
)
{
Loading