You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found that the original input inversion mesh cellMarkers is different from the mgr.paraDomain.
And can we set the inversion mesh to inversionDomain, while the forward task mesh is grid?
Your environment
Date: Tue May 14 15:41:44 2024 Taipei Standard Time
OS : Windows
CPU(s) : 32
Machine : AMD64
Architecture : 64bit
RAM : 50.0 GiB
Environment : Jupyter
Python 3.11.8 | packaged by conda-forge | (main, Feb 16 2024, 20:40:50) [MSC
v.1937 64 bit (AMD64)]
Does the mesh cellMarkers should be the same before and after the inversion process?
Actual behavior
print(inversionDomain.cellMarkers())
9751 [2,...,2]
print(mgr.paraDomain.cellMarkers())
9751 [0,...,9750]
By the way, can I set the inversion mesh to inversionDomain, while the forward task mesh is grid?
Because when I use the code I attach above, the forward mesh is very fine and take lots of time to calculate. data.zip
The text was updated successfully, but these errors were encountered:
You are right: internally, the cell markers (that define the inversion regions) are renumbered in the inversion process according to the inversion settings:
background (or fixed) regions are removed from the inversion mesh
cells in single regions obtain the same marker so that the model vector value is mapped to the entire region
Up to now, we only set one mesh, and its region markers define the behaviour. The inversion mesh is a submesh of this and the forward mesh is a (p or h) refined version of it. This is also the case for you.
One could, however, override the inversion mesh, but a connection to the forward mesh (on which forward response and Jacobian are computed) will be needed, e.g. by interpolation.
Problem description
I found that the original input inversion mesh cellMarkers is different from the mgr.paraDomain.
And can we set the inversion mesh to
inversionDomain
, while the forward task mesh isgrid
?Your environment
Date: Tue May 14 15:41:44 2024 Taipei Standard Time
Python 3.11.8 | packaged by conda-forge | (main, Feb 16 2024, 20:40:50) [MSC
v.1937 64 bit (AMD64)]
Steps to reproduce
Expected behavior
Does the mesh cellMarkers should be the same before and after the inversion process?
Actual behavior
print(inversionDomain.cellMarkers())
print(mgr.paraDomain.cellMarkers())
By the way, can I set the inversion mesh to
inversionDomain
, while the forward task mesh isgrid
?Because when I use the code I attach above, the forward mesh is very fine and take lots of time to calculate.
data.zip
The text was updated successfully, but these errors were encountered: