@@ -756,7 +756,7 @@ void quakelib::ModelWorld::create_section(std::vector<unsigned int> &unused_trac
756756 double moment_magnitude = 4.0 +log10 (conv.sqm2sqkm (fault_area));
757757
758758 for (unsigned int i=0 ; i<elem_ids.size (); ++i) {
759- double max_slip = pow (10 , (3.0 /2.0 )*(moment_magnitude+10.7 ))/(1e7 * element (elem_ids[i]).lame_mu ()*fault_area);
759+ double max_slip = pow (10 , (3.0 /2.0 )*(moment_magnitude+6.0 ))/(element (elem_ids[i]).lame_mu ()*fault_area);
760760 element (elem_ids[i]).set_max_slip (max_slip);
761761 }
762762}
@@ -872,7 +872,8 @@ void quakelib::ModelWorld::create_faults(const std::string &taper_method) {
872872// Schultz: Adapted from Steve Ward's model, used in the EQSim comparison for UCERF2 model
873873void quakelib::ModelWorld::compute_stress_drops (const double &stress_drop_factor) {
874874 std::map<UIndex, ModelElement>::iterator eit;
875- UIndex fault_id;
875+ UIndex fault_id;
876+ Conversion conv;
876877 ModelFault this_fault;
877878 double fault_area, fault_length, fault_width, char_magnitude, char_slip, R, nu, stress_drop;
878879
@@ -886,8 +887,8 @@ void quakelib::ModelWorld::compute_stress_drops(const double &stress_drop_factor
886887 fault_length = this_fault.length ();
887888 fault_width = fault_area/fault_length;
888889
889- char_magnitude = 4.0 +log10 (fault_area* 1e-6 ) + stress_drop_factor;
890- char_slip = pow (10 , (3.0 /2.0 )*(char_magnitude+10.7 ))/(1e7 * eit->second .lame_mu ()*fault_area);
890+ char_magnitude = 4.0 +log10 (conv. sqm2sqkm ( fault_area) ) + stress_drop_factor;
891+ char_slip = pow (10 , (3.0 /2.0 )*(char_magnitude+6.0 ))/(eit->second .lame_mu ()*fault_area);
891892
892893 nu = 0.5 *eit->second .lame_lambda ()/(eit->second .lame_mu () + eit->second .lame_lambda ());
893894 R = sqrt (fault_width*fault_width + fault_length*fault_length);
@@ -2254,7 +2255,7 @@ int quakelib::ModelWorld::read_files_eqsim(const std::string &geom_file_name, co
22542255 double moment_magnitude = 4.0 +log10 (conv.sqm2sqkm (fault_areas[eit->section_id ()]));
22552256
22562257 // Need to document where this scaling law comes from
2257- double max_slip = pow (10 , (3.0 /2.0 )*(moment_magnitude+10.7 ))/(1e7 * (eit->lame_mu ())*fault_areas[eit->section_id ()]);
2258+ double max_slip = pow (10 , (3.0 /2.0 )*(moment_magnitude+6.0 ))/((eit->lame_mu ())*fault_areas[eit->section_id ()]);
22582259
22592260 // Set the max slip for the current element
22602261 eit->set_max_slip (max_slip);
0 commit comments