Skip to content

Commit faf1c8c

Browse files
Committing clang-format changes
1 parent 5f41a7e commit faf1c8c

File tree

7 files changed

+49
-34
lines changed

7 files changed

+49
-34
lines changed

Diff for: packages/seacas/applications/zellij/ZE_SystemInterface.C

+6-4
Original file line numberDiff line numberDiff line change
@@ -172,9 +172,11 @@ void SystemInterface::enroll_options()
172172
"\t\twould read every other entry on the row and every other row. (for debugging)",
173173
"1");
174174

175-
options_.enroll("help", Ioss::GetLongOption::OptType::NoValue, "Print this summary and exit", nullptr);
175+
options_.enroll("help", Ioss::GetLongOption::OptType::NoValue, "Print this summary and exit",
176+
nullptr);
176177

177-
options_.enroll("version", Ioss::GetLongOption::OptType::NoValue, "Print version and exit", nullptr);
178+
options_.enroll("version", Ioss::GetLongOption::OptType::NoValue, "Print version and exit",
179+
nullptr);
178180

179181
options_.enroll("debug", Ioss::GetLongOption::OptType::MandatoryValue,
180182
"debug level (values are or'd)\n"
@@ -188,8 +190,8 @@ void SystemInterface::enroll_options()
188190
"\t\t 128 = Verbose sideset generation information.",
189191
"0");
190192

191-
options_.enroll("copyright", Ioss::GetLongOption::OptType::NoValue, "Show copyright and license data.",
192-
nullptr);
193+
options_.enroll("copyright", Ioss::GetLongOption::OptType::NoValue,
194+
"Show copyright and license data.", nullptr);
193195
}
194196

195197
bool SystemInterface::parse_options(int argc, char **argv)

Diff for: packages/seacas/libraries/ioss/src/Ioss_GetLongOpt.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ namespace Ioss {
3636
nullptr}; // If optional value and value not entered, assign opt_value to value
3737
Cell *next{nullptr}; // pointer to the next cell
3838
OptType type{OptType::NoValue}; // option type
39-
bool extra_line{false}; // True if `usage()` should output extra line at end of entry
39+
bool extra_line{false}; // True if `usage()` should output extra line at end of entry
4040

4141
Cell() = default;
4242
};

Diff for: packages/seacas/libraries/ioss/src/main/cgns_decomp.C

+5-3
Original file line numberDiff line numberDiff line change
@@ -181,9 +181,10 @@ namespace {
181181
explicit Interface(std::string app_version) : version(std::move(app_version))
182182
{
183183
options_.usage("[options] input_file");
184-
options_.enroll("help", Ioss::GetLongOption::OptType::NoValue, "Print this summary and exit", nullptr);
185-
options_.enroll("processors", Ioss::GetLongOption::OptType::MandatoryValue, "Number of processors.",
184+
options_.enroll("help", Ioss::GetLongOption::OptType::NoValue, "Print this summary and exit",
186185
nullptr);
186+
options_.enroll("processors", Ioss::GetLongOption::OptType::MandatoryValue,
187+
"Number of processors.", nullptr);
187188
options_.enroll("ordinal", Ioss::GetLongOption::OptType::MandatoryValue,
188189
"Ordinal not to split 0(i), 1(j), 2(k), 3(ij), 4(ik), or 5(jk).", nullptr);
189190
options_.enroll("line_decomposition", Ioss::GetLongOption::OptType::MandatoryValue,
@@ -203,7 +204,8 @@ namespace {
203204
"What is printed: z=zone-proc assignment, h=histogram, w=work-per-processor, "
204205
"c=comm map, v=verbose.",
205206
"zhwc");
206-
options_.enroll("version", Ioss::GetLongOption::OptType::NoValue, "Print version and exit", nullptr);
207+
options_.enroll("version", Ioss::GetLongOption::OptType::NoValue, "Print version and exit",
208+
nullptr);
207209
}
208210
Ioss::GetLongOption options_;
209211
int proc_count{0};

Diff for: packages/seacas/libraries/ioss/src/main/info_interface.C

+8-6
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ void Info::Interface::enroll_options()
2525
{
2626
options_.usage("[options] basename");
2727

28-
options_.enroll("help", Ioss::GetLongOption::OptType::NoValue, "Print this summary and exit", nullptr);
28+
options_.enroll("help", Ioss::GetLongOption::OptType::NoValue, "Print this summary and exit",
29+
nullptr);
2930

3031
options_.enroll("configuration", Ioss::GetLongOption::OptType::NoValue,
3132
"Show configuration of IOSS library (TPL versions)", nullptr);
@@ -46,8 +47,8 @@ void Info::Interface::enroll_options()
4647
#endif
4748
".",
4849
"unknown");
49-
options_.enroll("in_type", Ioss::GetLongOption::OptType::MandatoryValue, "(alias for db_type)", nullptr,
50-
nullptr, true);
50+
options_.enroll("in_type", Ioss::GetLongOption::OptType::MandatoryValue, "(alias for db_type)",
51+
nullptr, nullptr, true);
5152

5253
options_.enroll("summary", Ioss::GetLongOption::OptType::NoValue,
5354
"Only output counts of nodes, elements, and entities", nullptr);
@@ -163,10 +164,11 @@ void Info::Interface::enroll_options()
163164
options_.enroll("query_timesteps_only", Ioss::GetLongOption::OptType::NoValue,
164165
"Only read and output the timestep data on the file", nullptr);
165166
options_.enroll("64-bit", Ioss::GetLongOption::OptType::NoValue, "Use 64-bit integers", nullptr);
166-
options_.enroll("version", Ioss::GetLongOption::OptType::NoValue, "Print version and exit", nullptr);
167-
168-
options_.enroll("copyright", Ioss::GetLongOption::OptType::NoValue, "Show copyright and license data.",
167+
options_.enroll("version", Ioss::GetLongOption::OptType::NoValue, "Print version and exit",
169168
nullptr);
169+
170+
options_.enroll("copyright", Ioss::GetLongOption::OptType::NoValue,
171+
"Show copyright and license data.", nullptr);
170172
}
171173

172174
bool Info::Interface::parse_options(int argc, char **argv)

Diff for: packages/seacas/libraries/ioss/src/main/modify_interface.C

+8-6
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ void Modify::Interface::enroll_options()
2222
{
2323
options_.usage("[options] basename");
2424

25-
options_.enroll("help", Ioss::GetLongOption::OptType::NoValue, "Print this summary and exit", nullptr);
25+
options_.enroll("help", Ioss::GetLongOption::OptType::NoValue, "Print this summary and exit",
26+
nullptr);
2627

2728
options_.enroll("db_type", Ioss::GetLongOption::OptType::MandatoryValue,
2829
"Database Type: generated"
@@ -40,8 +41,8 @@ void Modify::Interface::enroll_options()
4041
#endif
4142
".",
4243
"unknown");
43-
options_.enroll("in_type", Ioss::GetLongOption::OptType::MandatoryValue, "(alias for db_type)", nullptr,
44-
nullptr, true);
44+
options_.enroll("in_type", Ioss::GetLongOption::OptType::MandatoryValue, "(alias for db_type)",
45+
nullptr, nullptr, true);
4546

4647
options_.enroll("allow_modifications", Ioss::GetLongOption::OptType::NoValue,
4748
"By default, io_modify will only allow creation of new assemblies.\n"
@@ -50,10 +51,11 @@ void Modify::Interface::enroll_options()
5051
"\t\tThis will cause the database to be rewritten. Without this option, it is "
5152
"updated in place.",
5253
nullptr, nullptr, true);
53-
options_.enroll("version", Ioss::GetLongOption::OptType::NoValue, "Print version and exit", nullptr);
54-
55-
options_.enroll("copyright", Ioss::GetLongOption::OptType::NoValue, "Show copyright and license data.",
54+
options_.enroll("version", Ioss::GetLongOption::OptType::NoValue, "Print version and exit",
5655
nullptr);
56+
57+
options_.enroll("copyright", Ioss::GetLongOption::OptType::NoValue,
58+
"Show copyright and license data.", nullptr);
5759
}
5860

5961
bool Modify::Interface::parse_options(int argc, char **argv)

Diff for: packages/seacas/libraries/ioss/src/main/shell_interface.C

+11-8
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ void IOShell::Interface::enroll_options()
2828
{
2929
options_.usage("[options] input_file[s] output_file");
3030

31-
options_.enroll("help", Ioss::GetLongOption::OptType::NoValue, "Print this summary and exit", nullptr);
31+
options_.enroll("help", Ioss::GetLongOption::OptType::NoValue, "Print this summary and exit",
32+
nullptr);
3233

3334
options_.enroll("in_type", Ioss::GetLongOption::OptType::MandatoryValue,
3435
"Database type for input file: generated"
@@ -89,8 +90,8 @@ void IOShell::Interface::enroll_options()
8990
"Do not read the global face id map (if any) from the input database.", nullptr,
9091
nullptr, true);
9192

92-
options_.enroll("64-bit", Ioss::GetLongOption::OptType::NoValue, "Use 64-bit integers on output database",
93-
nullptr);
93+
options_.enroll("64-bit", Ioss::GetLongOption::OptType::NoValue,
94+
"Use 64-bit integers on output database", nullptr);
9495

9596
options_.enroll("32-bit", Ioss::GetLongOption::OptType::NoValue,
9697
"Use 32-bit integers on output database."
@@ -368,9 +369,10 @@ void IOShell::Interface::enroll_options()
368369
"POINTER");
369370
#endif
370371

371-
options_.enroll("debug", Ioss::GetLongOption::OptType::NoValue, "turn on debugging output", nullptr);
372-
options_.enroll("detect_nans", Ioss::GetLongOption::OptType::NoValue, "check all real field data for NaNs",
372+
options_.enroll("debug", Ioss::GetLongOption::OptType::NoValue, "turn on debugging output",
373373
nullptr);
374+
options_.enroll("detect_nans", Ioss::GetLongOption::OptType::NoValue,
375+
"check all real field data for NaNs", nullptr);
374376

375377
options_.enroll("quiet", Ioss::GetLongOption::OptType::NoValue, "minimize output", nullptr);
376378

@@ -393,10 +395,11 @@ void IOShell::Interface::enroll_options()
393395
options_.enroll("reverse", Ioss::GetLongOption::OptType::NoValue,
394396
"define CGNS zones in reverse order. Used for testing (TEST)", nullptr);
395397

396-
options_.enroll("version", Ioss::GetLongOption::OptType::NoValue, "Print version and exit", nullptr);
397-
398-
options_.enroll("copyright", Ioss::GetLongOption::OptType::NoValue, "Show copyright and license data.",
398+
options_.enroll("version", Ioss::GetLongOption::OptType::NoValue, "Print version and exit",
399399
nullptr);
400+
401+
options_.enroll("copyright", Ioss::GetLongOption::OptType::NoValue,
402+
"Show copyright and license data.", nullptr);
400403
}
401404

402405
bool IOShell::Interface::parse_options(int argc, char **argv, int my_processor)

Diff for: packages/seacas/libraries/ioss/src/main/skinner_interface.C

+10-6
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,14 @@ void Skinner::Interface::enroll_options()
2323
{
2424
options_.usage("[options] input_file[s] output_file");
2525

26-
options_.enroll("help", Ioss::GetLongOption::OptType::NoValue, "Print this summary and exit", nullptr);
26+
options_.enroll("help", Ioss::GetLongOption::OptType::NoValue, "Print this summary and exit",
27+
nullptr);
2728

28-
options_.enroll("version", Ioss::GetLongOption::OptType::NoValue, "Print version and exit", nullptr);
29+
options_.enroll("version", Ioss::GetLongOption::OptType::NoValue, "Print version and exit",
30+
nullptr);
2931

30-
options_.enroll("64-bit", Ioss::GetLongOption::OptType::NoValue, "True if using 64-bit integers", nullptr);
32+
options_.enroll("64-bit", Ioss::GetLongOption::OptType::NoValue, "True if using 64-bit integers",
33+
nullptr);
3134
options_.enroll("in_type", Ioss::GetLongOption::OptType::MandatoryValue,
3235
"Database type for input file: generated"
3336
#if defined(SEACAS_HAVE_PAMGEN)
@@ -151,13 +154,14 @@ void Skinner::Interface::enroll_options()
151154
nullptr, nullptr, true);
152155
#endif
153156

154-
options_.enroll("debug", Ioss::GetLongOption::OptType::NoValue, "turn on debugging output", nullptr);
157+
options_.enroll("debug", Ioss::GetLongOption::OptType::NoValue, "turn on debugging output",
158+
nullptr);
155159

156160
options_.enroll("statistics", Ioss::GetLongOption::OptType::NoValue,
157161
"output parallel io timing statistics", nullptr);
158162

159-
options_.enroll("copyright", Ioss::GetLongOption::OptType::NoValue, "Show copyright and license data.",
160-
nullptr);
163+
options_.enroll("copyright", Ioss::GetLongOption::OptType::NoValue,
164+
"Show copyright and license data.", nullptr);
161165
}
162166

163167
bool Skinner::Interface::parse_options(int argc, char **argv)

0 commit comments

Comments
 (0)