brendanjmeade / celeri

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

Enable weighting of TDE boundary conditions #109

Open brendanjmeade opened 2 years ago

brendanjmeade commented 2 years ago

Add parameters to *_mesh_parameters.json that provide scalar values for setting the weights for the TDE boundary conditions. This will enable more tuning between smoothing and boundary condition application.

@jploveless What do you think of this?

jploveless commented 2 years ago

I think this is very important to implement! I also think that it requires being able to manually set color limits on the plot, to make sure that various weighting factors show the expected influence on the slip distribution.

brendanjmeade commented 2 years ago

Sound good. I'll start just by adding reasonable variable names for this to the cascadia mesh file. See: https://github.com/brendanjmeade/celeri/commit/8be59bd7edcbf42aa8c0c2fd0634784b3aeae616

brendanjmeade commented 2 months ago

The only one of these parameters that is currently used is the one for the bottom BC on each mesh. That weight is currently applied to all BCs associated with that mesh. The others are read in but not used for the QP+KL case. Change? Also, for the QP+KL case the command.tri_con_weight is not currently used but it could used to pre-multiply all of the individual mesh weights as a sort global scaling