Orbiter 2022
Combinatorial Objects
quartic_curve_activity_description.cpp
Go to the documentation of this file.
1/*
2 * quartic_curve_activity_description.cpp
3 *
4 * Created on: May 21, 2021
5 * Author: betten
6 */
7
8
9
10
11#include "orbiter.h"
12
13using namespace std;
14
15namespace orbiter {
16namespace layer5_applications {
17namespace applications_in_algebraic_geometry {
18namespace quartic_curves {
19
20
22{
23
25
27
29
31
32
33}
34
36{
37}
38
40 int argc, std::string *argv,
41 int verbose_level)
42{
43 int i;
45
46 cout << "quartic_curve_activity_description::read_arguments" << endl;
47 for (i = 0; i < argc; i++) {
48
49 if (ST.stringcmp(argv[i], "-report") == 0) {
50 f_report = TRUE;
51 cout << "-report " << endl;
52 }
53 else if (ST.stringcmp(argv[i], "-report_with_group") == 0) {
55 cout << "-report_with_group " << endl;
56 }
57 else if (ST.stringcmp(argv[i], "-export_points") == 0) {
59 cout << "-export_points " << endl;
60 }
61 else if (ST.stringcmp(argv[i], "-create_surface") == 0) {
63 cout << "-create_surface " << endl;
64 }
65 else if (ST.stringcmp(argv[i], "-end") == 0) {
66 cout << "-end" << endl;
67 break;
68 }
69 else {
70 cout << "quartic_curve_activity_description::read_arguments "
71 "unrecognized option " << argv[i] << endl;
72 exit(1);
73 }
74 cout << "quartic_curve_activity_description::read_arguments looping, i=" << i << endl;
75 } // next i
76
77 cout << "quartic_curve_activity_description::read_arguments done" << endl;
78 return i + 1;
79}
80
82{
83 if (f_report) {
84 cout << "-report " << endl;
85 }
87 cout << "-report_with_group " << endl;
88 }
89 if (f_export_points) {
90 cout << "-export_points " << endl;
91 }
92 if (f_create_surface) {
93 cout << "-create_surface " << endl;
94 }
95}
96
97
98
99
100
101}}}}
102
functions related to strings and character arrays
#define TRUE
Definition: foundations.h:231
#define FALSE
Definition: foundations.h:234
the orbiter library for the classification of combinatorial objects