Changeset 5849 for issm/trunk/src/c/shared/Elements/Paterson.cpp
- Timestamp:
- 09/16/10 14:26:44 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/shared/Elements/Paterson.cpp
r3332 r5849 32 32 B=pow((double)10,(double)8)*(-0.000292866376675*pow(T+50,3)+ 0.011672640664130*pow(T+50,2) -0.325004442485481*(T+50)+ 6.524779401948101); 33 33 } 34 if((T>=-45.0) && (T<=-40.0)){34 else if((T>=-45.0) && (T<=-40.0)){ 35 35 B=pow((double)10,(double)8)*(-0.000292866376675*pow(T+45,3)+ 0.007279645014004*pow(T+45,2) -0.230243014094813*(T+45)+ 5.154964909039554); 36 36 } 37 if((T>=-40.0) && (T<=-35.0)){37 else if((T>=-40.0) && (T<=-35.0)){ 38 38 B=pow((double)10,(double)8)*(0.000072737147457*pow(T+40,3)+ 0.002886649363879*pow(T+40,2) -0.179411542205399*(T+40)+ 4.149132666831214); 39 39 } 40 if((T>=-35.0) && (T<=-30.0)){40 else if((T>=-35.0) && (T<=-30.0)){ 41 41 B=pow((double)10,(double)8)*(-0.000086144770023*pow(T+35,3)+ 0.003977706575736*pow(T+35,2) -0.145089762507325*(T+35)+ 3.333333333333331); 42 42 } 43 if((T>=-30.0) && (T<=-25.0)){43 else if((T>=-30.0) && (T<=-25.0)){ 44 44 B=pow((double)10,(double)8)*(-0.000043984685769*pow(T+30,3)+ 0.002685535025386*pow(T+30,2) -0.111773554501713*(T+30)+ 2.696559088937191); 45 45 } 46 if((T>=-25.0) && (T<=-20.0)){46 else if((T>=-25.0) && (T<=-20.0)){ 47 47 B=pow((double)10,(double)8)*(-0.000029799523463*pow(T+25,3)+ 0.002025764738854*pow(T+25,2) -0.088217055680511*(T+25)+ 2.199331606342181); 48 48 } 49 if((T>=-20.0) && (T<=-15.0)){49 else if((T>=-20.0) && (T<=-15.0)){ 50 50 B=pow((double)10,(double)8)*(0.000136920904777*pow(T+20,3)+ 0.001578771886910*pow(T+20,2) -0.070194372551690*(T+20)+ 1.805165505978111); 51 51 } 52 if((T>=-15.0) && (T<=-10.0)){52 else if((T>=-15.0) && (T<=-10.0)){ 53 53 B=pow((double)10,(double)8)*(-0.000899763781026*pow(T+15,3)+ 0.003632585458564*pow(T+15,2) -0.044137585824322*(T+15)+ 1.510778053489523); 54 54 } 55 if((T>=-10.0) && (T<=-5.0)){55 else if((T>=-10.0) && (T<=-5.0)){ 56 56 B=pow((double)10,(double)8)*(0.001676964325070*pow(T+10,3)- 0.009863871256831*pow(T+10,2) -0.075294014815659*(T+10)+ 1.268434288203714); 57 57 } 58 if((T>=-5.0) && (T<=-2.0)){58 else if((T>=-5.0) && (T<=-2.0)){ 59 59 B=pow((double)10,(double)8)*(-0.003748937622487*pow(T+5,3)+0.015290593619213*pow(T+5,2) -0.048160403003748*(T+5)+ 0.854987973338348); 60 60 } 61 if(T>=-2.0){61 else if(T>=-2.0){ 62 62 B=pow((double)10,(double)8)*(-0.003748937622488*pow(T+2,3)-0.018449844983174*pow(T+2,2) -0.057638157095631*(T+2)+ 0.746900791092860); 63 63 }
Note:
See TracChangeset
for help on using the changeset viewer.