Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FWI
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package registry
Harbor Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository 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
KIT
Mpp
FWI
Commits
ab1433d0
Commit
ab1433d0
authored
8 months ago
by
Christian Rheinbay
Browse files
Options
Downloads
Patches
Plain Diff
try cg
parent
da7ca864
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
FWI/src/ForwardModels/ForwardModelAAO.cpp
+3
-3
3 additions, 3 deletions
FWI/src/ForwardModels/ForwardModelAAO.cpp
with
3 additions
and
3 deletions
FWI/src/ForwardModels/ForwardModelAAO.cpp
+
3
−
3
View file @
ab1433d0
...
...
@@ -336,7 +336,7 @@ void ForwardModelAAO::ApplyPrecon(const FWIDataContainerDomain &m,
const
Vector
&
NonlinearPointMat
=
m
.
getMat
();
Vectors
&
UpdateWave
=
m_update
.
getVectorsWrite
();
mout
<<
"First AWE: "
<<
sqrt
(
L2TScalarAAO
(
UpdateWave
,
UpdateWave
))
<<
endl
;
bool
usePenaltyForPrecon
=
true
;
Config
::
Get
(
"usePenaltyForPrecon"
,
usePenaltyForPrecon
);
int
CGImprovement
=
0
;
...
...
@@ -367,7 +367,7 @@ void ForwardModelAAO::ApplyPrecon(const FWIDataContainerDomain &m,
Vectors
WaveTmp2
(
UpdateWave
);
WaveTmp2
.
Clear
();
AdjointMeasurement
(
meas
,
WaveTmp2
);
mout
<<
" residual to AWE: "
<<
sqrt
(
L2TScalarAAO
(
WaveTmp2
,
WaveTmp2
))
<<
endl
;
mout
<<
" residual to
AWE
second
: "
<<
sqrt
(
L2TScalarAAO
(
WaveTmp2
,
WaveTmp2
))
<<
endl
;
WaveTmp2
.
Clear
();
DGSeismogram
result
=
ApplyDataSpaceCG
(
WavesolutionPrecon
,
meas
,
WaveTmp
,
WaveTmp2
,
CGImprovement
);
...
...
@@ -386,7 +386,7 @@ void ForwardModelAAO::ApplyPrecon(const FWIDataContainerDomain &m,
Obs
->
MeasureFullWave
(
UpdateWave
,
meas
);
WaveTmp
.
Clear
();
AdjointMeasurement
(
meas
,
WaveTmp
);
mout
<<
" residual to AWE: "
<<
sqrt
(
L2TScalarAAO
(
WaveTmp
,
WaveTmp
))
<<
endl
;
mout
<<
" residual to AWE
third
: "
<<
sqrt
(
L2TScalarAAO
(
WaveTmp
,
WaveTmp
))
<<
endl
;
}
}
...
...
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