o
    ;h!i                     @   sB   d Z ddlmZmZmZmZ ddlmZ dgZG dd deZ	dS )z
    pygments.lexers.freefem
    ~~~~~~~~~~~~~~~~~~~~~~~

    Lexer for FreeFem++ language.

    :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
    )CommentOperatorKeywordName)CppLexerFreeFemLexerc                   @   s~   e Zd ZdZdZdZdgZdgZdgZdZ	h dZ
h d	Zh d
Zh dZh dZh dZh dZdhZh dZdddZdS )r   z|
    For FreeFem++ source.

    This is an extension of the CppLexer, as the FreeFem Language is a superset
    of C++.
    Freefemzhttps://freefem.org/freefemz*.edpztext/x-freefemz2.4>   ^z.//-z.*:*'z^-1+%>   ZmpiGroupcomplexZdmatrixZmeshZfespaceZmesh3Z
PsemaphoreZ	gslsplineintproblemmacroZmpiCommrealZofstreammatrixstringZ
mpiRequestboolZifstreamZEndMacroZPmmapfuncZsolveborderZNewMacroZvarf>*   ZP1b3dZP1ZBDM1ZP1ncZP3EdgeZP4ZP0EdgeZP2BRZRT1ZEdge03dZP2bZ	BDM1OrthoZFEQFZP2hZP3ZP2pncZP4EdgeZHCTZP1blZP4dcZP2EdgeZEdge13dZRT03dZP5EdgeZP1EdgeZRT0OrthoZP2dcZP1bl3dZP1dcZP1bZP23dZEdge23dZP3dcZRT0ZRT2OrthoZP0ZRT2ZP03dZP2ZRT1OrthoZP13dZP2Morley>   Z
ENDIFMACROloadZIFMACROinclude>p   ZiminZimZsparsesolverZbordermeasureZlenEdgeZtellpZmpisizeZLUlabelZqf4pEvolumeZqf7pTZCGbeZmpiLORmZqf5pTNZ
notaregionrfind	precisionZqf2pTZGMRESZUMFPACKl2ZqfV1lumpnZmpiSUMZqf1pEdefaultFILElengthZmpirankZquantilemeasureZffindZmpiBXORZ	noshowposZdiagZnTonEdgenvZnuEdgeadjZBoundaryEdgeminZ
noshowbasefalsemaxZndofZlinftyZimaxZLINEZqf3pEZwhoinElementZmpiUndefinedZCholeskyZqf2pEversionzZmpiBANDZqf2pT4P1ZqfnbpEZcinpiregionZqfV1ZshowbaseZmpiLANDZmpiAnySourceZndofKZunusedreZ
scientificZareaZmpiPRODZcoutl1ZsetwZqfV5binaryappendsumZgoodtrueZendlZmpiCommWorldZedgeOrientationZ	qf1pTlumpZshowposxZ	hTriangleZqfV2findyPZnbeZsearchMethodZ	qf1pElumpZmpiMAX	verbosityZInternalEdgeZ
nuTriangleZmpiLXORntZqf5pEZqf1pTZqf9pTZCroutZARGVflushZmpiMINfixed>  Zgslsfsynchrotron1ZgslsflegendreQ0ZdyxZgslsftaylorcoeffZgslcdfbetaQinvZj0ZgslcdfbetaQZgslsfbesseli0scaledZcmaesZintalledgesZgslsfChiZmpiAlltoallvZgslcdfbinomialPZgslsferfZgslsftransport3Zgslsfexprel2ZgslsfexpintE1scaledZdyzZgslsfetaintZ	buildmeshZgslsfbesselk0scaledZgslsfconicalPhalfZgslsftransport5tanZgslcdfgammaPinvZgslcdffdistPZgslrangumbel1pdfZgslinterpcsplineZgslsfbesselYnuZgslcdfugaussianQinvZgslsfairyBiderivZgslsfgegenpoly1ZgslranpascalpdfimagroundZgslsfbesselj1ZgslsfexpZmpiAlltoallZy0ZgslcdflognormalQZgslcdfgeometricPZgslsfbesselilscaledr,   ZgslrangaussianpdfZgslsfbesselKnscaledZreadmeshZgslsfdawsonZgslsffermidiracm1r/   ZgslcdfcauchyPZconjZgslsfbesselJ0ZgslranflatpdfZ
invdiffposZgslcdfgaussianPZgslcdfflatQinvZ
mpiWaitAnyZgslcdfgaussianPinvZgslsflnchooseZgslsfhyperg0F1ZgslranugaussianZ	gslsfpochZgslcdffdistPinvZgslsfbesseljlZ	mpiGathergetlineZtetgreconstructionZgslsfgammastarZgslcdflogisticPZgslcdfparetoPZStringificationZgslranrayleightailZgslsflegendreP3Zgslsfpsi1piyfloorZgslsfdebye5ZgslrangammaknuthZgslsfbesselJ1Z
gslranlevyZtgammaatofZrandinitZ	gmshload3ZlroundZgslsfairyAiderivscaledZgslsffermidirachalfZgslsflaguerre3ZgslsfbesselInuscaledZgslsflegendreP2ZgslsfhydrogenicR1ZfmaxZgslsfsynchrotron2Zgslsfbessely0ZsavemeshZfdimZgslsfbesselj2ZgslrangammaintZmpiScattervZconvectZgslcdfgumbel1QZgslranbetapdfZgslsflngammaZgslranparetopdfZAffineGMRESZsignbitZgslsfdebye2ZgslsfbesselKnuscaledZgslsfbesselI1scaledZgslsffermidirac1ZmpiWaitZ	adaptmeshZ	randint31ZlrintZgslsfairyBiderivscaledZgslsflegendreH3d1ZgslsfbesselY1ZgslinterpakimaperiodicZgmshloadZgslsfbesselJnuZmeditZ	randint32ZgslsfanglerestrictposZgslranweibullZgslcdfgumbel1QinvZgslranpoissonpdfZ
projectionZIsendZgslsffermidiracmhalfZtellgZgslsfdebye3ZgslcdfrayleighQinvZ	splitmeshZgslranexponentialatanhZynZgslranexponentialpdfswapZmshmetZgslsfbesselJnZseekgZ	gslsfzetaZsrandomZgslranlaplacepdfZgslcdfgumbel2PZgslcdfrayleighQZgslsfzetaintZgslcdfexponentialPinvZint3dchiZgslcdftdistPinvZcheckmovemeshZSentZgslcdfugaussianPZdzxZmpiAllgathervZgslsfellintEcompZgslranrayleighZgslsfbesselzeroJ1ZgslsfbesselKnuZgslcdfexppowQZIrecvZjnZ
gslranbetaZgslcdfchisqQinvZgslcdfgaussianQinvZgslcdffdistQZ	gslsfbetaZ	gslsfsincZ	randreal3Zgslsfbesselk2scaledZgslsfbessely2ZinterpolateZ
movemesh23ZgslcdfflatPinvZgslcdfgammaQinvZgslsfgammainccoshZgslsfbesselklscaledZgslsfbesseli2scaledZdyyZgslsfhyperg2F0asinhZgslcdftdistPZgslcdfflatQZgslcdfweibullPinvZint2dy1ZgslsfpochrelZgslcdfpascalPZNLCGZgslinterppolynomialZgslsflnsinhZgslsfclausenZdfftZmpiWtimeZgslsfbesselKnZgslsfellintKcompZmpiAllgatherZgslsfdebye4Zgslsfbesselk1scaledZgslcdfbinomialQZ	gslsfpsinZgslrangammamtZgslsfconicalPcylregZgslsfbesselK1scaledZsquareZgslsfexprelZisInfZgslinterplinearZ	randreal1ZrintZgslsfgegenpoly2ZgslranrayleightailpdfZgslsfexpintEiZ	splitCommZgslsflnbetaZgslcdfexppowPexitZgslrangammaZgslsftransport4ZgslsfSiZgslrancauchyZgslsfgegenpolynZgslcdfparetoQZgslsflog1plusxZjumpZ
mpiBarrierZgslranbernoullipdfZdxZdxzZgslsfgegenpoly3ZgslsfbesselInuZgslsfbesselzeroJnuZgslrangaussianZgslsfbesselInZ	readmesh3ZgslsfairyzeroAiderivZgslcdfrayleighPinvZgslcdfgumbel1PZgslcdfexponentialPZgslsfellintRCZgslsfhazardacoscopysignZgslsfShiZgslranlognormalZgslcdfcauchyQZgslsfdebye6ZWriteZgslsfexpint3sqrtZPostZgslsflegendreP1ZRecvZgslcdflognormalPinvZgslcdfgumbel1PinvZgslrangaussianzigguratsystemZgslrangaussianratiomethodZgslranlandausettanhZgslcdftdistQZgslsffermidiracinc0ZgslsfbesselzeroJ0ZBFGSassertZgslsfhyperg1F1intZ	gslsffactZgslsfconicalP1ZgslcdflognormalPZgslrannegativebinomialpdfZgslsfbesselK0log10ZgslrancauchypdfZgslranerlangpdfZgslsflncoshabsZgslranlognormalpdfZdzyZgslcdfweibullPZ	emptymeshZgslsfairyzeroBiZgslsfexpintE2Zgslsffermidirac0ZgslranerlangZtetgZ
gslranflatZsavesolZdyZgslsfbesselj0Z	gslsferfZZgslcdfgaussianQZ
gslsfdilog	processorZgslranfdistZgslcdftdistQinvZgslsflegendresphPlmZgslranlogisticZgslcdfbetaPZgslranchisqZcubeZgslsfairyzeroBiderivZgslcdfflatPZchangeZ	gslsferfcZgslsffermidirac2ZgslcdfugaussianQZgslsfairyAiZgslinterpakimaZgslcdfparetoQinvZgslranugaussiantailpdfZgslsfhypergUZgslcdflognormalQinvZint1dr-   ZisolineZgslsfbesseli1scaledZgslsflaguerre2ZgslsfmultiplyZ
srandomdevZgslcdfgumbel2QinvZgslsflegendreH3d0Zj1ZplotZgslrangumbel2ZtetgtransfoZgslsfchooseZtetgconvexhullerfcZgslsfexpintEiscaledZgslcdfgammaQZgslcdfchisqQsignexecZgslsfbessely1ZgslcdfchisqPZ
mpiScatterZ
gslsfhypotZmpiWtickZgslcdfgumbel2PinvZgslsflog1plusxmxZgslsfellintFZ
gslsfgammaZbuildlayersZgslsfconicalPsphregfmodsinhZ
gslsfexpm1ZgslinterpsteffenZgslranchisqpdfZgslsfconicalPmhalfZ	randres53ddZdxyZgslsfairyAiderivZgslcdflogisticPinvZisNaNZgslsfbesselYnZgslcdfweibullQZgslsffermidiracintZgslsfellintPcompZgslranlogarithmicpdfZpolarZgslcdfgumbel2QZgslranweibullpdfZgslrangaussiantailpdfZgslsfetaZgslranugaussiantailZgslcdfexponentialQinvZgslcdfugaussianPinvZgslcdfgammaPZgslcdfpoissonQZgslsfsinZgslsflaguerrenZgslsfairyAiscaledZgslsfzetam1ZgslranugaussianpdfZgslcdfnegativebinomialQZ
gslsfhzetaZgslsfdoublefactZgslsfbesselK1ZgslcdffdistQinvZgslranexppowpdfZgslcdflogisticQinvsinZgslsflegendreH3dclockZgslcdfweibullQinvZtriangulateZWaitZgslsfdebye1ZgslsfbesselI0ZgslrantdistZgslsfhyperg1F1logatanmeanZgslcdflogisticQZgslsfconicalP0ZmpiRankZgslcdflaplacePinvZdzZgslsfexpintEnscaledZgslranexppowZgslsflambertWm1Zgslsftransport2dZmpiSizeZ
EigenValueZgslsflambertW0ZgslcdfparetoPinvZgslsfpsi1interfdistZgetARGVZgslrangumbel2pdfZgslranugaussianratiomethodatoiZfreeyamsZgslranrayleighpdfZgslsfcosrandomZgslsflnfactZgslcdfbetaPinvZgslcdfgeometricQZgslrangeometricpdfZgslsfexpintE2scaledZdiffposZgslranparetoZintallfacesZgslsfbesselInscaledZgslsfzetam1intZgslsfbesselI0scaledZgslsflogerfcZgslsflaguerre1ZgslcdflaplacePZcomplexEigenValueZgslsfanglerestrictsymmZgslsflegendrePlmZgslsfpowintpowZgslsfexpintEnZgslsflegendreQ1Zgslrangumbel1NaNZ	gslsferfQZmovemeshZgslsfexpintE1ceilZgslcdfnegativebinomialPZgslranlandaupdfZgslranlogisticpdfZgslsfellintDcompZgslsflegendrePlZprocessorblockZgslsfellintEcosZgslsflndoublefactacoshZgslsffermidirac3half	broadcastZgslcdflaplaceQZ	dimKrylovZgslinterpcsplineperiodiconZgslcdfcauchyPinvZmmg3dZgslcdfrayleighPZgslsfCiZmpiAllReduceZ	dumptableZgslsfpsiZ
mpiGathervZgslcdflaplaceQinvZgslranbinomialpdfZgslsfexpmultZinvdiffZReadZgslcdfpascalQZgslcdfchisqPinvZgslsfairyzeroAiZgslsfairyBiscaledZ	gslsfpsi1ZgslsfbesselK0scaledZLinearGMRESZ	mpiReduceZgslcdfexponentialQZAffineCGZsavevtkZgslsfairyBiZgslrangammapdfZgslsfbesselY0ZgslsflogZgslrangaussiantailZgslsfhypergUintZgslranfdistpdfZgslsfgammaincPZdzzlgammaexpasinZgslsfgammainvZdiffnpsortZdxxZ	randreal2ZgslsflegendreQlZgslranlaplaceZgslsflogabsZgslsflnpochZgslsfbesselI1ZgslsfbetaincargZgslsfatanintZgslsfexprelnZfminZLinearCGtruncZgslsfgammaincQZgslcdfpoissonPatan2ZgslsflegendrearraysizeZgslsfbessellnKnuZgslrantdistpdfZgslcdfcauchyQinvZgslsfbesselylZgslsfpsiintZ	invdiffnp>   ZperiodicZdisplacementrefnumZstrategyZpsZrenumvZreftriZfloatsolZbeginenderrrI   Z	nbofholesZtgvZqfeZWindowIndexr   ZqforderZ	smoothingZnbofregionsZmaxitZnbarrowZtolfileZkeepbackverticesZnbisoZsplitpbedgeZ
reffacemidZdparamsZivalueBZsparamsZnormalizationZnbjacobyZlparamsZthetamaxinitZ	labeldownZhsvZsplitin2ZsymZaspectratioZtolpivotsymwhichdimcutoffZvepsZflabelZtransfoZmetricZ	gradationbinZnboffacetclZwithsurfacemeshcloseZ	reffaceupZvisomodeZsizeofvolumeZ	maxsubdivZgreyZabserrorZ	rescalingZqfVZmemoryAZ
reffacelowZB1ZpreconZreftetZlevelsetZdistmaxZisooptionepsr3   ZcmmsplitfillZnbiterZnbsmoothZnbregulZqftwidthZtolpivotZinsideZvarrowZncvZmeditffZnbvxZ	factorizeZU2VcZ	facemergeZlabelupoptionsordersigmaboundaryZfacetclZhminwaitbwZholelistZvectorsaveswitchoptimizeZnomeshgenerationtZfixedborderZloptionsZ	floatmeshZ	rawvectorflagsZdatafilenameomegaZdoptionsZbbZcoefopZinquireratioZorientationZ
composanteZhmaxvalueZlabelmidZsolverZdatanameZzboundZptmergeA1powerZmemprevZIsMetricstopZnevZanisoZerrgZ
ridgeangleZfregionabsoluteZ
regionlistZ
fixeborder>   divdecltypeZmutableasmZthread_localtemplate	namespaceZstatic_assertusingZtypeidZgradZ	constexprZrestrictZalignoftypenamedoubleZnoexceptthisrootc                 c   s    t | ||D ]q\}}}|| jv r|t|fV  q|| jv r&|tj|fV  q|| jv r3|tj	|fV  q|| j
v r@|tj|fV  q|| jv rM|tj|fV  q|| jv rZ|tj|fV  q|| jv rg|tj|fV  q|| jv rs|t|fV  q|||fV  qd S )N)r   get_tokens_unprocessed	operatorsr   typesr   Typefespacesr   Classpreprocessorr   PreprockeywordsReserved	functionsFunction
parametersPseudosuppress_highlight)selftextstackindextokenr    r   J/var/www/html/venv/lib/python3.10/site-packages/pygments/lexers/freefem.pyr   j  s(   







z#FreeFemLexer.get_tokens_unprocessedN)r   )__name__
__module____qualname____doc__nameurlaliases	filenames	mimetypesversion_addedr   r   r   r   r   r   r   
deprecatedr   r   r   r   r   r   r      s.    t     N)
r   Zpygments.tokenr   r   r   r   Zpygments.lexers.c_cppr   __all__r   r   r   r   r   <module>   s
    
