| 50 | } |
| 51 | |
| 52 | void parsePOINTS_1_0(std::ifstream& in, SRFPointSource& ps) |
| 53 | { |
| 54 | double dummy; |
| 55 | unsigned nt[3]; |
| 56 | |
| 57 | // Point source, line 1 |
| 58 | in >> ps.longitude >> ps.latitude >> ps.depth >> ps.strike >> ps.dip >> ps.area >> ps.tinit >> ps.dt; |
| 59 | // Point source, line 2 |
| 60 | in >> ps.rake >> dummy >> nt[0] >> dummy >> nt[1] >> dummy >> nt[2]; |
| 61 | |
| 62 | ps.shearModulus = 0.0; // = unknown |
| 63 | |
| 64 | for (unsigned i = 0; i < 3; ++i) { |
| 65 | parseSamples(in, ps.slipRate[i], nt[i]); |
| 66 | } |
| 67 | } |
| 68 | |
| 69 | void parsePOINTS_2_0(std::ifstream& in, SRFPointSource& ps) |
| 70 | { |
nothing calls this directly
no test coverage detected