@@ -21,19 +21,19 @@ extern "C" {
2121// optimization : best combination depends on process by process
2222#define SIMPSEL
2323
24- // optimization : lower and upper bound of deg of taget node of connection.
24+ // optimization : lower and upper bound of deg of target node of connection.
2525#define MINMAXLEG
2626
2727// optimization : optimization with respect to 'extonly' particles
2828#define OPTEXTONLY
2929
30- // check uniqe interaction by name or by code
30+ // check unique interaction by name or by code
3131#define UNIQINTR
3232
3333// possible extensions of the program
3434// #define ORBITS
3535
36- // reverse direction of an adge of agraph when anti-particle flows on it.
36+ // reverse direction of an edge of agraph when anti-particle flows on it.
3737// In this case the direction of edges will be diffrent
3838// from ones of original mgraph.
3939// #define EDGEPORDER
@@ -65,8 +65,8 @@ static OptDef optDef[] = {
6565 {" NoExtSelf" , " Exclude graphs with 2-pt subgraphs at ext. particles" , False, 0 },
6666 {" NoAdj2PtV" , " Exclude graphs with an edge connecting 2-pt vertices" , False, 0 },
6767 {" Block" , " Exclude graphs with more than one block" , False, 0 },
68- {" SymmInitial" ," Symmetrize initial particls " , False, 0 },
69- {" SymmFinal" , " Symmetrize final particls " , False, 0 },
68+ {" SymmInitial" ," Symmetrize initial particles " , False, 0 },
69+ {" SymmFinal" , " Symmetrize final particles " , False, 0 },
7070};
7171
7272static int nOptDef = sizeof (optDef)/sizeof (OptDef);
@@ -162,7 +162,7 @@ void Options::setDefaultValue(void)
162162{
163163 int j;
164164
165- // defualt values
165+ // default values
166166 for (j = 0 ; j < GRCC_OPT_Size; j++) {
167167 values[j] = optDef[j].defaultv ;
168168 }
@@ -1578,7 +1578,7 @@ Interaction::Interaction(Model *modl, int iid, const char *nam, int icd, int *cp
15781578 mdl = modl; // the model
15791579 id = iid; // id of this interaction
15801580 icode = icd; // id of this interaction
1581- csum = csm; // the total oders of coupling constants
1581+ csum = csm; // the total orders of coupling constants
15821582 nlegs = nlgs; // the size of plist[]
15831583 loop = lp; // the number of loops
15841584
@@ -3150,7 +3150,7 @@ void Process::prProcess(void)
31503150void Process::mkSProcess (void )
31513151{
31523152 // Construct sprocesses
3153- // Each sprocess is a set of nodes whose degree and oder of
3153+ // Each sprocess is a set of nodes whose degree and order of
31543154 // coupling constants are determined.
31553155 // Only the total coupling constants are considered here even if
31563156 // two or more coupling constants are defined in the model
@@ -3611,7 +3611,7 @@ MNode::MNode(int vid, int vclss, NCInput *mgi)
36113611 // vclss : class of the node
36123612
36133613 id = vid; // id of the node
3614- clss = vclss; // class to which the node belogns
3614+ clss = vclss; // class to which the node belongs
36153615 deg = mgi->cldeg ; // degree of the node
36163616 freelg = mgi->cldeg ; // number of free legs
36173617 extloop = mgi->cltyp ; // external node or not
@@ -3634,7 +3634,7 @@ MNode::MNode(int vid, int vdeg, int vextlp, int vclss, int cmin, int cmax)
36343634 id = vid; // id of the node
36353635 deg = vdeg; // degree of the node
36363636 freelg = vdeg; // number of free legs
3637- clss = vclss; // class to which the node belogns
3637+ clss = vclss; // class to which the node belongs
36383638 extloop = vextlp; // external node or not
36393639 cmindeg = cmin; // min(deg of connectable vertex)
36403640 cmaxdeg = cmax; // max(deg of connectable vertex)
@@ -4275,8 +4275,8 @@ void MGraph::bisearchME(int nd, int pd, int ned, MCOpi *mopi, MCBlock *mblk, int
42754275
42764276 *next = 0 ; // # external below 'nd' inclusive
42774277 *nart = 0 ; // # articulation points 'nd' inclusive
4278- nart1 = 0 ; // # articlulation points below 'nd'.
4279- nart2 = 0 ; // # 'nd' is articlulation point then 1
4278+ nart1 = 0 ; // # articulation points below 'nd'.
4279+ nart2 = 0 ; // # 'nd' is articulation point then 1
42804280 ndart = 0 ; // # the number of blocks attached to 'nd'
42814281
42824282 newv = (bidef[nd] < 0 );
@@ -4376,7 +4376,7 @@ void MGraph::bisearchME(int nd, int pd, int ned, MCOpi *mopi, MCBlock *mblk, int
43764376
43774377 mconn->pushEdge (nd, td);
43784378
4379- // visit childe
4379+ // visit child
43804380 bisearchME (td, nd, adjMat[td][nd], &mopi1, &mblk1, &next1, &nart1);
43814381
43824382 // articulation point of bridge
@@ -4395,7 +4395,7 @@ void MGraph::bisearchME(int nd, int pd, int ned, MCOpi *mopi, MCBlock *mblk, int
43954395 // block
43964396 ndart++;
43974397 mconn->addArtic (nd, 1 );
4398- // dicad nparts from nodes below td
4398+ // discard nparts from nodes below td
43994399 mblk1.nartps = 2 ;
44004400 mconn->addBlock (&mblk1, blkt);
44014401 mblk1.init ();
@@ -4897,7 +4897,7 @@ void MGraph::newGraph(MNodeClass *cl)
48974897 c1PI++;
48984898 }
48994899
4900- // # no tadpolses
4900+ // # no tadpoles
49014901 if (!tadpole) {
49024902 cNoTadpole++;
49034903 }
@@ -6743,7 +6743,7 @@ void EGraph::biinitE(void)
67436743// --------------------------------------------------------------
67446744void EGraph::bisearchE (int nd, int *extlst, int *intlst, int *opiext, int *opiloop)
67456745{
6746- // Searchs in the spanning tree below 'nd'.
6746+ // Search in the spanning tree below 'nd'.
67476747 // Arguments:
67486748 // nd : input : node to be visited
67496749 // extlst : output : set of external lines in the current 1PI comp.
@@ -7552,7 +7552,7 @@ Assign::~Assign(void)
75527552// ---------------------------------------------------------------
75537553void Assign::prCand (const char *msg)
75547554{
7555- // Print candidte table
7555+ // Print candidate table
75567556 int n, e, ne;
75577557 AEdge *ed;
75587558
@@ -7840,7 +7840,7 @@ Bool Assign::assignVertex(int v)
78407840 astack->checkPoint (sav);
78417841 saveCouple (savc0);
78427842
7843- // assign to all vertices with only one candicate
7843+ // assign to all vertices with only one candidate
78447844 done = False;
78457845 for (n = 0 ; n < nNodes; n++) {
78467846
@@ -8016,7 +8016,7 @@ Bool Assign::allAssigned(void)
80168016#ifdef CHECK
80178017 checkAG (" allAssigned" );
80188018#endif
8019- // fill imformation to resulting Egraph
8019+ // fill information to resulting Egraph
80208020 fillEGraph (nAGraphs, nsym, esym, nsym1);
80218021
80228022#ifdef OPTEXTONLY
@@ -8064,7 +8064,7 @@ Bool Assign::fromMGraph(void)
80648064 nodes[j] = new ANode (mgraph->nodes [j]->deg );
80658065 }
80668066
8067- // initializaion of edge table
8067+ // initialization of edge table
80688068 nETotal = 0 ;
80698069
80708070 // List of all particles
@@ -8913,7 +8913,7 @@ Bool Assign::updateCandNode(int v)
89138913 return False;
89148914 }
89158915
8916- // list of possible particles on the leges of the vertex.
8916+ // list of possible particles on the edges of the vertex.
89178917 // pdass = (set of assigned particles)
89188918 // puass = (list of particles of edges with two of more candidates)
89198919
@@ -9273,8 +9273,8 @@ int Assign::cmpPermGraph(int *p, MNodeClass *cl)
92739273// --------------------------------------------------------------
92749274int Assign::cmpNodes (int nd0, int nd1, MNodeClass *cn)
92759275{
9276- // Comarison of two nodes 'nd0' and 'nd1'
9277- // Ordering is lexcographical (class, connection configuration)
9276+ // Comparison of two nodes 'nd0' and 'nd1'
9277+ // Ordering is lexicographical (class, connection configuration)
92789278 //
92799279
92809280 int cmp;
@@ -9886,7 +9886,7 @@ static void prilist(int n, const int *a, const char *msg)
98869886// ------------------------------------------------------------
98879887static int nextPerm (int nelem, int nclass, int *cl, int *r, int *q, int *p, int count)
98889888{
9889- // Sequatial generation of all permutations.
9889+ // Sequential generation of all permutations.
98909890
98919891 int j, k, n, e, t;
98929892 Bool b;
0 commit comments