|
@@ -89,12 +89,14 @@ int main(int argc, char** argv) {
|
89
|
89
|
// We could, I suppose, take the earth model in here? For non-linear that
|
90
|
90
|
// may be more natural to work with?
|
91
|
91
|
std::vector<std::string> tx = {std::string("Coil 1"), std::string("Coil 2"), std::string("Coil 3") };
|
92
|
|
- std::vector<std::string> rx = {std::string("Coil 1"), std::string("Coil 2"), std::string("Coil 3") };
|
|
92
|
+ std::vector<std::string> rx = {std::string("Coil 1"), std::string("Coil 3")};
|
|
93
|
+ //std::vector<std::string> rx = {std::string("Coil 1"), std::string("Coil 2"), std::string("Coil 3") };
|
93
|
94
|
//std::vector<std::string> rx = {std::string("Coil 1"), std::string("Coil 2")};//, std::string("Coil 3") };
|
94
|
95
|
//std::vector<std::string> rx = {std::string(argv[3])};
|
95
|
|
- Kern->CalculateK0( tx, rx, true );
|
|
96
|
+ Kern->CalculateK0( tx, rx, false );
|
96
|
97
|
|
97
|
|
- std::ofstream dout = std::ofstream(std::string("k0-3Tx-RxCh-") + std::string(argv[3]) + std::string("-tol") + std::string(argv[1])+ std::string(".dat"));
|
|
98
|
+ //std::ofstream dout = std::ofstream(std::string("k0-3Tx-RxCh-") + std::string(argv[3]) + std::string("-tol") + std::string(argv[1])+ std::string(".dat"));
|
|
99
|
+ std::ofstream dout = std::ofstream(std::string("k0-3Tx-RxCh-13") + std::string("-off-") + std::string(argv[1])+ std::string(".dat"));
|
98
|
100
|
dout << "# Transmitters: ";
|
99
|
101
|
for (auto lp : tx) {
|
100
|
102
|
dout << lp << "\t";
|
|
@@ -106,9 +108,8 @@ int main(int argc, char** argv) {
|
106
|
108
|
dout << "\n# Tolerance: " << tol << std::endl;
|
107
|
109
|
dout << "# Offset: " << offset << std::endl;
|
108
|
110
|
dout << "# Radius: " << 15 << std::endl;
|
109
|
|
- //std::ofstream dout = std::ofstream(std::string("k-coincident.dat"));
|
110
|
111
|
dout << interfaces.transpose() << std::endl;
|
111
|
|
- dout << I.transpose() << std::endl;
|
|
112
|
+ dout << Kern->GetPulseDuration()*I.transpose() << std::endl;
|
112
|
113
|
dout << "#real\n";
|
113
|
114
|
dout << Kern->GetKernel().real() << std::endl;
|
114
|
115
|
dout << "#imag\n";
|
|
@@ -116,9 +117,10 @@ int main(int argc, char** argv) {
|
116
|
117
|
dout.close();
|
117
|
118
|
|
118
|
119
|
//std::ofstream out = std::ofstream(std::string("k0-3Tx-RxCh1-")+std::string(argv[1])+std::string(".yaml"));
|
|
120
|
+ std::ofstream out = std::ofstream(std::string("k0-3Tx-RxCh-13") + std::string("-off-") + std::string(argv[1])+ std::string(".yaml"));
|
119
|
121
|
//std::ofstream out = std::ofstream(std::string("k-coincident.yaml"));
|
120
|
|
- //out << *Kern;
|
121
|
|
- //out.close();
|
|
122
|
+ out << *Kern;
|
|
123
|
+ out.close();
|
122
|
124
|
}
|
123
|
125
|
|
124
|
126
|
std::shared_ptr<Lemma::PolygonalWireAntenna> CircularLoop ( int nd, Real Radius, Real Offsetx, Real Offsety ) {
|