Skip to content

Commit 7378e4d

Browse files
Add new RCS input JSON files for various configurations
- Created 3D_RCS_Sphere_Box_1m_G1_O1_BLEG_LR.rcs.json - Created 3D_RCS_Sphere_Box_1m_G1_O1_LR.rcs.json - Created 3D_RCS_Sphere_Box_1m_G1_O2_BLEG_LR.rcs.json - Created 3D_RCS_Sphere_Box_1m_G1_O2_LR.rcs.json - Created 3D_RCS_Sphere_Box_1m_G2_O1_BLEG_LR.rcs.json - Created 3D_RCS_Sphere_Box_1m_G2_O1_LR.rcs.json - Created 3D_RCS_Sphere_Box_1m_G2_O2_BLEG_LR.rcs.json - Created 3D_RCS_Sphere_Box_1m_G2_O2_LR.rcs.json Each file contains configuration for single-core run mode, frequency range from 1 MHz to 1 GHz, and fixed angles for theta and phi.
1 parent 2bb6372 commit 7378e4d

24 files changed

Lines changed: 300074 additions & 94154 deletions

src/solver/Solver.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,7 @@ void Solver::writeSimulationStatistics(const Time runtime){
479479
myfile << "Temporal Evolution Average Sampled Memory (B): " << temporalMemAverageSampled << "\n";
480480
myfile << "Temporal Evolution Sample Count: " << temporalMemSampleCount_ << "\n";
481481
myfile << "Temporal Evolution Peak Increase (B): " << (temporalMemPeakSampled_ - temporalMemBaseline_) << "\n";
482-
myfile << "Temporal Evolution Memory Consumption (B): " << getCurrentMemoryUsage() << "\n";
482+
myfile << "Temporal Evolution Memory Consumption (B): " << temporalMemAverageSampled << "\n";
483483
myfile.close();
484484
} else {
485485
std::cerr << "Rank " << rank << " failed to open file: " << path << "\n";

test/cases/AnalyticalStudyTests.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ static void runBesselJ6Family(const std::string& suffix, const std::string& desc
6969
prefix << "2D_BesselJ6_G" << g;
7070
std::stringstream batch_desc;
7171
batch_desc << description << " G" << g;
72-
runBatchSweep(prefix.str(), suffix, 1, 5, batch_desc.str(), "./Exports/single-core/");
72+
runBatchSweep(prefix.str(), suffix, 1, 6, batch_desc.str(), "./Exports/single-core/");
7373
}
7474
}
7575

testData/maxwellInputs/2D_BesselJ6_G1_Ha_Pb_Template/2D_BesselJ6_G1_Ha_Pb_Template.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"solver_options": {
33
"upwind_alpha": 1.0,
4+
"evolution_operator": "global",
45
"time_step": 1e-4,
56
"final_time": 4.62,
67
"basis_type": 1,

testData/maxwellInputs/2D_BesselJ6_G2_Ha_Pb_Template/2D_BesselJ6_G2_Ha_Pb_Template.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
{
22
"solver_options": {
33
"upwind_alpha": 1.0,
4-
"time_step": 1e-5,
4+
"evolution_operator": "global",
5+
"time_step": 1e-4,
56
"final_time": 4.62,
67
"basis_type": 1,
78
"order": 1

testData/maxwellInputs/2D_Resonant_Box_TM55_Ha_Pb_Template/2D_Resonant_Box_TM55_Ha_Pb_Template.json

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
"time_step": 0.0001,
66
"basis_type": 1,
77
"final_time": 2.8284,
8-
"export_operator": true,
98
"order": 1
109
},
1110
"model": {
@@ -32,25 +31,6 @@
3231
]
3332
},
3433
"probes": {
35-
"exporter": {
36-
"steps": 1000
37-
},
38-
"point": [
39-
{
40-
"position": [
41-
0.7,
42-
0.7
43-
],
44-
"write": true
45-
},
46-
{
47-
"position": [
48-
0.5,
49-
0.3
50-
],
51-
"write": true
52-
}
53-
],
5434
"domain_snapshot": {
5535
"steps": 100
5636
}
Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
{
2+
"solver_options": {
3+
"upwind_alpha": 1.0,
4+
"evolution_operator": "global",
5+
"time_step": 0.005,
6+
"basis_type": 0,
7+
"final_time": 30.0,
8+
"order": 1
9+
},
10+
"model": {
11+
"filename": "3D_RCS_Sphere_Box_1m_G1_O1_BLEG_LR.msh",
12+
"materials": [
13+
{
14+
"tags": [
15+
2,
16+
4
17+
],
18+
"type": "vacuum"
19+
}
20+
],
21+
"boundaries": [
22+
{
23+
"tags": [
24+
9
25+
],
26+
"type": "PEC"
27+
},
28+
{
29+
"tags": [
30+
10
31+
],
32+
"type": "SMA"
33+
}
34+
]
35+
},
36+
"probes": {
37+
"exporter": {
38+
"saves": 300
39+
},
40+
"rcssurface": [
41+
{
42+
"name": "sphere_Box_1m_G1_O1_LR",
43+
"steps": 1,
44+
"tags": [
45+
11,
46+
12,
47+
13,
48+
14,
49+
15,
50+
16
51+
]
52+
}
53+
]
54+
},
55+
"sources": [
56+
{
57+
"type": "planewave",
58+
"polarization": [
59+
1.0,
60+
0.0,
61+
0.0
62+
],
63+
"propagation": [
64+
0.0,
65+
0.0,
66+
1.0
67+
],
68+
"tags": [
69+
11,
70+
12,
71+
13,
72+
14,
73+
15,
74+
16
75+
],
76+
"magnitude": {
77+
"spread": 0.2
78+
}
79+
}
80+
]
81+
}

0 commit comments

Comments
 (0)