Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
amfe
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Aerospace and Mechanical Engineering
amfe
Commits
dcccf803
Commit
dcccf803
authored
1 year ago
by
Adrien Crovato
Browse files
Options
Downloads
Patches
Plain Diff
LinearSolver::getError returns -1 for direct solver
parent
348dbe9e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!11
amfe v1.0.7
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
tbox/src/wDss.h
+1
-2
1 addition, 2 deletions
tbox/src/wDss.h
tbox/src/wMumps.h
+1
-2
1 addition, 2 deletions
tbox/src/wMumps.h
tbox/src/wPardiso.h
+1
-2
1 addition, 2 deletions
tbox/src/wPardiso.h
tbox/src/wSparseLu.h
+1
-2
1 addition, 2 deletions
tbox/src/wSparseLu.h
with
4 additions
and
8 deletions
tbox/src/wDss.h
+
1
−
2
View file @
dcccf803
...
...
@@ -23,7 +23,6 @@
#include
"wLinearSolver.h"
#include
<mkl_dss.h>
#include
<Eigen/Sparse>
#include
<limits>
namespace
tbox
{
...
...
@@ -48,7 +47,7 @@ public:
virtual
void
solve
(
Eigen
::
Map
<
Eigen
::
VectorXd
>
const
&
b
,
Eigen
::
Map
<
Eigen
::
VectorXd
>
&
x
)
override
;
virtual
void
compute
(
Eigen
::
SparseMatrix
<
double
>
const
&
A
,
Eigen
::
Map
<
Eigen
::
VectorXd
>
const
&
b
,
Eigen
::
Map
<
Eigen
::
VectorXd
>
&
x
)
override
;
virtual
double
getError
()
override
{
return
std
::
numeric_limits
<
double
>::
epsilon
()
;
}
virtual
double
getError
()
override
{
return
-
1.
;
}
virtual
int
getIterations
()
override
{
return
1
;
}
virtual
void
write
(
std
::
ostream
&
out
)
const
override
;
...
...
This diff is collapsed.
Click to expand it.
tbox/src/wMumps.h
+
1
−
2
View file @
dcccf803
...
...
@@ -23,7 +23,6 @@
#include
"wLinearSolver.h"
#include
<dmumps_c.h>
#include
<Eigen/Sparse>
#include
<limits>
namespace
tbox
{
...
...
@@ -61,7 +60,7 @@ public:
virtual
void
solve
(
Eigen
::
Map
<
Eigen
::
VectorXd
>
const
&
b
,
Eigen
::
Map
<
Eigen
::
VectorXd
>
&
x
)
override
;
virtual
void
compute
(
Eigen
::
SparseMatrix
<
double
>
const
&
A
,
Eigen
::
Map
<
Eigen
::
VectorXd
>
const
&
b
,
Eigen
::
Map
<
Eigen
::
VectorXd
>
&
x
)
override
;
virtual
double
getError
()
override
{
return
std
::
numeric_limits
<
double
>::
epsilon
()
;
}
virtual
double
getError
()
override
{
return
-
1.
;
}
virtual
int
getIterations
()
override
{
return
1
;
}
virtual
void
write
(
std
::
ostream
&
out
)
const
override
;
...
...
This diff is collapsed.
Click to expand it.
tbox/src/wPardiso.h
+
1
−
2
View file @
dcccf803
...
...
@@ -22,7 +22,6 @@
#include
"wLinearSolver.h"
#include
<Eigen/PardisoSupport>
#include
<limits>
namespace
tbox
{
...
...
@@ -46,7 +45,7 @@ public:
virtual
void
solve
(
Eigen
::
Map
<
Eigen
::
VectorXd
>
const
&
b
,
Eigen
::
Map
<
Eigen
::
VectorXd
>
&
x
)
override
;
virtual
void
compute
(
Eigen
::
SparseMatrix
<
double
>
const
&
A
,
Eigen
::
Map
<
Eigen
::
VectorXd
>
const
&
b
,
Eigen
::
Map
<
Eigen
::
VectorXd
>
&
x
)
override
;
virtual
double
getError
()
override
{
return
std
::
numeric_limits
<
double
>::
epsilon
()
;
}
virtual
double
getError
()
override
{
return
-
1.
;
}
virtual
int
getIterations
()
override
{
return
1
;
}
virtual
void
write
(
std
::
ostream
&
out
)
const
override
;
...
...
This diff is collapsed.
Click to expand it.
tbox/src/wSparseLu.h
+
1
−
2
View file @
dcccf803
...
...
@@ -20,7 +20,6 @@
#include
"tbox.h"
#include
"wLinearSolver.h"
#include
<Eigen/Sparse>
#include
<limits>
namespace
tbox
{
...
...
@@ -46,7 +45,7 @@ public:
virtual
void
solve
(
Eigen
::
Map
<
Eigen
::
VectorXd
>
const
&
b
,
Eigen
::
Map
<
Eigen
::
VectorXd
>
&
x
)
override
;
virtual
void
compute
(
Eigen
::
SparseMatrix
<
double
>
const
&
A
,
Eigen
::
Map
<
Eigen
::
VectorXd
>
const
&
b
,
Eigen
::
Map
<
Eigen
::
VectorXd
>
&
x
)
override
;
virtual
double
getError
()
override
{
return
std
::
numeric_limits
<
double
>::
epsilon
()
;
}
virtual
double
getError
()
override
{
return
-
1.
;
}
virtual
int
getIterations
()
override
{
return
1
;
}
virtual
void
write
(
std
::
ostream
&
out
)
const
override
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment