Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
getdp
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
getdp
getdp
Commits
4cae3c4d
Commit
4cae3c4d
authored
6 years ago
by
Guillaume Demesy
Browse files
Options
Downloads
Patches
Plain Diff
PEP_TARGET_MAGNITUDE is more appropriate
parent
cefa47a6
No related branches found
No related tags found
1 merge request
!55
Nleig
Pipeline
#2433
passed
6 years ago
Stage: test
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
Kernel/EigenSolve_SLEPC.cpp
+1
-1
1 addition, 1 deletion
Kernel/EigenSolve_SLEPC.cpp
with
1 addition
and
1 deletion
Kernel/EigenSolve_SLEPC.cpp
+
1
−
1
View file @
4cae3c4d
...
@@ -719,7 +719,7 @@ static void _polynomialEVP(struct DofData * DofData_P, int numEigenValues,
...
@@ -719,7 +719,7 @@ static void _polynomialEVP(struct DofData * DofData_P, int numEigenValues,
_try
(
PEPSetDimensions
(
pep
,
numEigenValues
,
PETSC_DECIDE
,
PETSC_DECIDE
));
_try
(
PEPSetDimensions
(
pep
,
numEigenValues
,
PETSC_DECIDE
,
PETSC_DECIDE
));
_try
(
PEPSetTolerances
(
pep
,
1.e-6
,
100
));
_try
(
PEPSetTolerances
(
pep
,
1.e-6
,
100
));
_try
(
PEPSetType
(
pep
,
PEPTOAR
));
_try
(
PEPSetType
(
pep
,
PEPTOAR
));
_try
(
PEPSetWhichEigenpairs
(
pep
,
PEP_
SMALLES
T_MAGNITUDE
));
_try
(
PEPSetWhichEigenpairs
(
pep
,
PEP_
TARGE
T_MAGNITUDE
));
_try
(
PEPMonitorSet
(
pep
,
_myPepMonitor
,
PETSC_NULL
,
PETSC_NULL
));
_try
(
PEPMonitorSet
(
pep
,
_myPepMonitor
,
PETSC_NULL
,
PETSC_NULL
));
#if defined(PETSC_USE_COMPLEX)
#if defined(PETSC_USE_COMPLEX)
PetscScalar
shift
=
shift_r
+
PETSC_i
*
shift_i
;
PetscScalar
shift
=
shift_r
+
PETSC_i
*
shift_i
;
...
...
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