Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
fwi
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
fwi
Commits
e6fea842
Commit
e6fea842
authored
1 year ago
by
Boris Martin
Browse files
Options
Downloads
Patches
Plain Diff
reading frequency group with underscore
parent
3b0e859b
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
inversion.cpp
+1
-1
1 addition, 1 deletion
inversion.cpp
specific/configuration/green0_preconditioner.h
+1
-0
1 addition, 0 deletions
specific/configuration/green0_preconditioner.h
with
2 additions
and
1 deletion
inversion.cpp
+
1
−
1
View file @
e6fea842
...
@@ -108,7 +108,7 @@ int inversion(const GmshFem& gmshFem)
...
@@ -108,7 +108,7 @@ int inversion(const GmshFem& gmshFem)
for
(
unsigned
int
f
=
0
;
f
<
n_freq
;
f
++
)
for
(
unsigned
int
f
=
0
;
f
<
n_freq
;
f
++
)
{
{
std
::
string
suffix_f
=
std
::
to_string
(
f
);
std
::
string
suffix_f
=
std
::
to_string
(
f
);
if
(
!
gmshFem
.
userDefinedParameter
(
freq_idx
[
f
],
"frequency"
+
suffix_g
+
suffix_f
))
if
(
!
gmshFem
.
userDefinedParameter
(
freq_idx
[
f
],
"frequency"
+
suffix_g
+
"_"
+
suffix_f
))
{
{
freq_idx
[
f
]
=
f
;
freq_idx
[
f
]
=
f
;
msg
::
warning
<<
"Frequency index #"
+
suffix_f
+
" for group #"
+
suffix_g
+
" could not be found. Index = "
<<
f
<<
"(default)."
<<
msg
::
endl
;
msg
::
warning
<<
"Frequency index #"
+
suffix_f
+
" for group #"
+
suffix_g
+
" could not be found. Index = "
<<
f
<<
"(default)."
<<
msg
::
endl
;
...
...
This diff is collapsed.
Click to expand it.
specific/configuration/green0_preconditioner.h
+
1
−
0
View file @
e6fea842
...
@@ -16,6 +16,7 @@
...
@@ -16,6 +16,7 @@
#include
"line_acquisition.h"
#include
"line_acquisition.h"
#include
"rectangular_acquisition.h"
#include
"rectangular_acquisition.h"
#include
"circular_acquisition.h"
#include
"circular_acquisition.h"
#include
"flexible_acquisition.h"
using
namespace
gmshfem
;
using
namespace
gmshfem
;
using
namespace
gmshfem
::
common
;
using
namespace
gmshfem
::
common
;
...
...
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