@@ -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+6.0 ))/(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}
@@ -888,7 +888,7 @@ void quakelib::ModelWorld::compute_stress_drops(const double &stress_drop_factor
888888 fault_width = fault_area/fault_length;
889889
890890 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 ))/(1e7 * eit->second .lame_mu ()*fault_area);
891+ char_slip = pow (10 , (3.0 /2.0 )*(char_magnitude+6.0 ))/(eit->second .lame_mu ()*fault_area);
892892
893893 nu = 0.5 *eit->second .lame_lambda ()/(eit->second .lame_mu () + eit->second .lame_lambda ());
894894 R = sqrt (fault_width*fault_width + fault_length*fault_length);
@@ -2255,7 +2255,7 @@ int quakelib::ModelWorld::read_files_eqsim(const std::string &geom_file_name, co
22552255 double moment_magnitude = 4.0 +log10 (conv.sqm2sqkm (fault_areas[eit->section_id ()]));
22562256
22572257 // Need to document where this scaling law comes from
2258- double max_slip = pow (10 , (3.0 /2.0 )*(moment_magnitude+6.0 ))/(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 ()]);
22592259
22602260 // Set the max slip for the current element
22612261 eit->set_max_slip (max_slip);
0 commit comments