Skip to content

Commit d9db9c3

Browse files
committed
up keywords
1 parent 499c3a9 commit d9db9c3

File tree

1 file changed

+40
-24
lines changed

1 file changed

+40
-24
lines changed

freefem.py

+40-24
Original file line numberDiff line numberDiff line change
@@ -40,21 +40,25 @@ class FreeFemLexer(CppLexer):
4040

4141
# types
4242
types = set((
43-
'bool',
43+
'BemKernel',
44+
'BemPotential',
45+
'bool',
4446
'border',
4547
'complex',
4648
'dmatrix',
4749
'fespace',
4850
'func',
4951
'gslspline',
52+
'HMatrix',
5053
'ifstream',
5154
'int',
5255
'macro',
56+
'Mat',
5357
'matrix',
5458
'mesh',
5559
'mesh3',
56-
'meshS',
57-
'meshL',
60+
'meshL',
61+
'meshS',
5862
'mpiComm',
5963
'mpiGroup',
6064
'mpiRequest',
@@ -184,7 +188,7 @@ class FreeFemLexer(CppLexer):
184188
'mpiUndefined',
185189
'n',
186190
'N',
187-
'Nt',
191+
'Nt',
188192
'nbe',
189193
'ndof',
190194
'ndofK',
@@ -196,7 +200,7 @@ class FreeFemLexer(CppLexer):
196200
'nuEdge',
197201
'nuTriangle',
198202
'nv',
199-
'nbnomanifold',
203+
'nbnomanifold',
200204
'P',
201205
'pi',
202206
'precision',
@@ -260,18 +264,20 @@ class FreeFemLexer(CppLexer):
260264
'atanh',
261265
'atof',
262266
'atoi',
267+
'BEM',
263268
'BFGS',
264269
'broadcast',
265270
'buildlayers',
266271
'buildmesh',
267-
'buildBdMesh',
272+
'buildmeshL',
273+
'buildBdMesh',
268274
'ceil',
269275
'chi',
270276
'complexEigenValue',
271277
'copysign',
272278
'change',
273279
'checkmovemesh',
274-
'checkmesh',
280+
'checkmesh',
275281
'clock',
276282
'cmaes',
277283
'conj',
@@ -285,6 +291,7 @@ class FreeFemLexer(CppLexer):
285291
'diffnp',
286292
'diffpos',
287293
'dimKrylov',
294+
'display',
288295
'dist',
289296
'dumptable',
290297
'dx',
@@ -306,14 +313,14 @@ class FreeFemLexer(CppLexer):
306313
'exec',
307314
'exit',
308315
'exp',
309-
'extract',
316+
'extract',
310317
'fdim',
311318
'floor',
312319
'fmax',
313320
'fmin',
314321
'fmod',
315322
'freeyams',
316-
'Gamma',
323+
'Gamma',
317324
'getARGV',
318325
'getline',
319326
'gmshload',
@@ -668,9 +675,11 @@ class FreeFemLexer(CppLexer):
668675
'gslsfetaint',
669676
'gslsfeta',
670677
'imag',
671-
'int0d',
678+
'int0d',
672679
'int1d',
680+
'int1dx1d',
673681
'int2d',
682+
'int2dx2d',
674683
'int3d',
675684
'intalledges',
676685
'intallfaces',
@@ -701,8 +710,8 @@ class FreeFemLexer(CppLexer):
701710
'mmg3d',
702711
'movemesh',
703712
'movemesh23',
704-
'movemesh3'
705-
'movemeshS'
713+
'movemesh3',
714+
'movemeshS',
706715
'mpiAlltoall',
707716
'mpiAlltoallv',
708717
'mpiAllgather',
@@ -724,9 +733,11 @@ class FreeFemLexer(CppLexer):
724733
'NaN',
725734
'NLCG',
726735
'on',
736+
'OrientNormal',
727737
'plot',
728738
'polar',
729739
'Post',
740+
'POT',
730741
'pow',
731742
'processor',
732743
'processorblock',
@@ -760,8 +771,8 @@ class FreeFemLexer(CppLexer):
760771
'splitmesh',
761772
'sqrt',
762773
'square',
763-
'square3',
764-
'segment',
774+
'square3',
775+
'segment',
765776
'srandom',
766777
'srandomdev',
767778
'Stringification',
@@ -800,10 +811,12 @@ class FreeFemLexer(CppLexer):
800811
'boundary',
801812
'bw',
802813
'close',
803-
'cleanmesh',
814+
'cleanmesh',
804815
'cmm',
805816
'coef',
817+
'commworld',
806818
'composante',
819+
'compressor',
807820
'cutoff',
808821
'datafilename',
809822
'dataname',
@@ -815,6 +828,7 @@ class FreeFemLexer(CppLexer):
815828
'eps',
816829
'err',
817830
'errg',
831+
'eta',
818832
'facemerge',
819833
'facetcl',
820834
'factorize',
@@ -846,6 +860,7 @@ class FreeFemLexer(CppLexer):
846860
'levelset',
847861
'loptions',
848862
'lparams',
863+
'master',
849864
'maxit',
850865
'maxsubdiv',
851866
'meditff',
@@ -875,9 +890,9 @@ class FreeFemLexer(CppLexer):
875890
'order',
876891
'orientation',
877892
'periodic',
878-
'pNormalT',
893+
'pNormalT',
879894
'power',
880-
'precisvertice',
895+
'precisvertice',
881896
'precon',
882897
'prev',
883898
'ps',
@@ -888,24 +903,24 @@ class FreeFemLexer(CppLexer):
888903
'qfV',
889904
'ratio',
890905
'rawvector',
891-
'refe',
906+
'refe',
892907
'reffacelow',
893908
'reffacemid',
894909
'reffaceup',
895910
'refnum',
896-
'reft',
911+
'reft',
897912
'reftet',
898913
'reftri',
899914
'region',
900915
'regionlist',
901-
'removeduplicate',
916+
'removeduplicate',
902917
'renumv',
903-
'renumt',
918+
'renumt',
904919
'rescaling',
905920
'ridgeangle',
906-
'ridgeangledetection',
907-
'rmledges',
908-
'rmInternalEdges',
921+
'ridgeangledetection',
922+
'rmledges',
923+
'rmInternalEdges',
909924
'save',
910925
'sigma',
911926
'sizeofvolume',
@@ -928,6 +943,7 @@ class FreeFemLexer(CppLexer):
928943
'tolpivotsym',
929944
'transfo',
930945
'U2Vc',
946+
'unbounded',
931947
'value',
932948
'varrow',
933949
'vector',

0 commit comments

Comments
 (0)