Skip to content

Commit

Permalink
fix: adding debugging page to doc index
Browse files Browse the repository at this point in the history
  • Loading branch information
lachlangrose committed Oct 25, 2022
1 parent 01651cb commit a09aa0d
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
16 changes: 15 additions & 1 deletion docs/source/user_guide/debugging.rst
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Interpolator is taking a long time
feature.faults = []
feature.update()
-
Folds
-----
Expand All @@ -67,6 +67,7 @@ should be visible.

Faults
------

No displacement
~~~~~~~~~~~~~~~
- Check that the displacement is large enough that it should be visible. E.g. compare displacement to model bounding box
Expand All @@ -79,6 +80,19 @@ No displacement
- Increase the resolution of the visualisation mesh :code:`view.nelements=1e6`
- Is the fault parallel to the feature being faulted?
- Has the fault been added to the feature being faulted?

.. code-block:
print([f.name for f in faulted_feature.faults])
- Is the fault displacement vector correct? Add the vector field to the visualisation

.. code-block:
view = LavaVuModelViewer(model)
view.add_vector_field(model['fault'][1],locations=model.regular_grid()[::200]) #random 200 locations
view.add_isosurface(model['fault'][0],0)
view.interactive()
3 changes: 2 additions & 1 deletion docs/source/user_guide/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ User Guide
interpolation_options
fold_modelling
fault_modelling
visualisation
visualisation
debugging

0 comments on commit a09aa0d

Please sign in to comment.