brendanjmeade / celeri

Next generation earthquake cycle kinematics
BSD 3-Clause "New" or "Revised" License
24 stars 6 forks source link

test_okada_equals_cutde: Going from disp_mat -> disp -> u_cutde #42

Closed brendanjmeade closed 2 years ago

brendanjmeade commented 2 years ago

https://github.com/brendanjmeade/celeri/blob/eb0bf189c137c5a519ecfdb44f972406469e5289/celeri.py#L2293-L2293

brendanjmeade commented 2 years ago

For an array of observation coordinates, I'm having trouble going from disp_mat -> disp -> summing over triangles. I can't even seem to get the dimensions right.

brendanjmeade commented 2 years ago

Ben fixed this with pull request #43

To run locally, execute the following:

export CUTDE_USE_BACKEND=cpp pytest celeri.py::test_okada_equals_cutde