a
    Df!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-2024 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++.
    ZFreefemzhttps://freefem.org/Zfreefemz*.edpztext/x-freefemz2.4>   z^-1^%'/+*-:z.*z./>   ZborderZofstreamZEndMacroZvarfZmpiCommZifstreamZdmatrixfunccomplexproblemZ
PsemaphoreZNewMacromacroZmeshZmatrixintZsolveZ	gslsplineZ
mpiRequeststringZPmmapZmpiGroupZfespaceboolrealZmesh3>*   ZP3EdgeZRT1OrthoZRT1ZP0ZP2pncZP1EdgeZP1ZP1bl3dZFEQFZRT2OrthoZP1b3dZEdge13dZEdge23dZRT0ZRT2ZP0EdgeZP1bZP2hZP03dZP2ZP3dcZEdge03dZP5EdgeZP2EdgeZHCTZP4dcZBDM1ZP13dZP23dZRT0OrthoZ	BDM1OrthoZRT03dZP4ZP2dcZP4EdgeZP2MorleyZP1blZP1dcZP2bZP2BRZP1ncZP3>   loadZIFMACROZ
ENDIFMACROinclude>p   ZmpiPRODZInternalEdgeZ	hTriangleflushbinaryminZCGZlenEdgeZ
scientificZmpiMINtrueZmpiLANDZwhoinElementFILEZlinftyZquantileZqf9pTZsearchMethodpiZmpisizeZGMRESyZ	noshowposZffindZ
noshowbaseZ
notaregionZCroutZmpiAnySourcefalsentzZcinZgoodZqfV5	verbosityZqf3pEnlengthZLINEZqf1pEZqf5pTZnTonEdgeZshowposmaxZmpiMAXrfindZmpiBXORregionZCholeskyZqf4pEZcoutareaZqfV2Z	qf1pTlumpZtellpZimZ	qf1pElumpZendlversionZnbeZ
nuTrianglevolumeadjZqf1pTZmpiLORZmpiSUMZmpiCommWorldZsetwmZqf7pTfindZqfnbpEPZqf2pTZndofZLUZshowbaseZ	precisionZUMFPACKZBoundaryEdgeZqfV1lumplabelZmeasureZmpiBANDZunusedZimaxZiminNZndofKZsparsesolverl1l2ZmpiLXORZedgeOrientationZqf2pT4P1ZmpirankZdiagresumZARGVZnuEdgeZbordermeasureZqf5pEdefaultfixedZmpiUndefinedZqfV1nvappendZqf2pExbe>  ZgslsfconicalP0ZgslcdftdistQZgslsfellintRCZgslsfexpintE2scaledmeanZ
invdiffposswapZgslcdfrayleighQZgslrangumbel1ZLinearCGZgslcdfweibullPinvZgslrangammapdfZgslsfhypergUZgslcdfflatQinvr   ZdxzZgslsfbesselilscaledZgslcdfgaussianPZgslrangammaknuthZgslsfbesselKnuZgslsfhyperg0F1ZgslcdfpoissonPZgslinterplinearZgslsflegendrePlfmodZ	gslsferfQZgslsfdebye1ZgslcdfnegativebinomialQZmovemeshZgslsfbesselY0ZgslcdfexponentialQinvZgslsfdebye3ZmpiAlltoallvZgslsfatanintZinvdiffZgslcdftdistPinvZgslcdfflatQZgslsfbesselK1ZgetARGVZ
gslsfdilogZgslinterpcsplineZgslsfgegenpolynZdzZgslcdflognormalPZgslranexppowpdfZgslsfbesselk1scaledZ	gslsfzetaZgslranlognormalpdfZgslsfellintKcompZgslsfellintPcompZdyZ	gslsffactZgslrangaussianratiomethodZgslsftransport2ZdxZ	buildmeshZtriangulateZ	gslsfpsinZgslsfbesselk2scaledZgslsftransport3ZgslcdfgaussianQlog10ZgslsflncoshZdiffposZgslrantdistpdfZgslcdfexponentialPinvZgslcdfgumbel2PZ	invdiffnpZgslrangammaintZbuildlayersZgslsfdebye2ZgslsfbesselzeroJnuZgslranrayleigh	broadcastZgslsfbesselylZPostZtetgZgslcdflognormalQinvsqrtZgslsfbesselInZgslsflegendreH3d1ZgslcdfparetoQZNLCGZgslsfgammaincPZgslrantdistZ	readmesh3ZSentZ
mpiScatterr-   ZgslsfconicalPmhalfsortZsrandomZgslcdfcauchyPZgslcdfpoissonQZgslsffermidiracmhalfZisolineZdxyZinterpolateZgslsfbesselI1scaledZgslsfpsi1intZgslranchisqpdfZconjZgslranexppowZgslrangumbel2Z	gslsfpsi1ZgslsflambertWm1ZWaitZgslsfairyAiderivZtellgZ	randreal1ZgslsfbesseljlZgslinterpakimaperiodicZgslsfSiZgslsfclausenZ	gslsferfZZgslsfbesselK0Zgslsffermidirac3halfZgslsfconicalPhalfonZgslcdflognormalQZplotZAffineGMRESZ	gslsfbetaZgslsftransport5Z	gslsfpochasinhZgslsfairyBiderivscaledZgslsfbesselj1Z
gslsfhzetaZgslsflegendreP2ZisNaNdZgslcdfgumbel2QinvZintalledgesZ
EigenValueZgslcdfrayleighPZgslranlaplaceZcomplexEigenValuesintanZgslsfairyBiscaledZsquareZreadmeshZgslsflnpochZtgammaZgslsfmultiplyZ	splitCommZgslranbernoullipdfZrandinitZgslcdfrayleighQinvexpZIsendZgslcdflogisticPZgslrangaussiantailZgslcdftdistQinvZdfftZdyyZgslsfgammainvZgslsfairyzeroBiZgslcdfbinomialQZ
gslranbetaasinZgslsfexpintEnscaledZgslcdfgeometricPZgslcdfbetaPexitZgslcdfgammaPZgslranchisqZj0ZgslranugaussiantailpdfZtetgtransfoZgslrangeometricpdfZgslsfexpintE2Zint1dZgslsfgammaincQZgslranugaussiantailZgslsflegendreH3d0Zgslsflog1plusxmxZgslsfhazardZgslinterpsteffenZgslsfairyAiZcmaesZdxxZgslranlaplacepdfZgslsfetaintZgslsflog1plusxZdyzroundZtetgconvexhullZgslsflegendreQlatan2ZgslranweibullpdfZgslsfbesselK0scalederfcZgslcdfugaussianPinvZgslinterpcsplineperiodicZgslsfconicalPsphregZgslsfsynchrotron2ZgslranfdistZAffineCGacosZgslcdfparetoPZgslsfchooseZgslranbinomialpdfZ	dumptableZynZWriteZgslsflnsinhZgslranexponentialZgslcdflogisticQZdzyZgslcdfgammaPinvcopysignsignZgslsfellintEZgslsfgegenpoly2Z	randres53Zgslcdfgumbel1PZmpiWtickZ
movemesh23Zgslsfexpint3ZgslsfpochrelZgslsfellintEcompZgslsfbesselYnargZgslsfpsi1piyZgslcdffdistPZgslcdfugaussianQinvZpolarZgslcdfugaussianQZgslsfbesselY1ZsavevtkZgslranflatpdfZgslcdfcauchyQlogZgslranugaussianpdfZgslsflegendresphPlmZLinearGMRESZmpiAlltoallZint3dZgslsfexpmultZgslsfbetaincZgslcdfgammaQinvZgslsflndoublefactZgslsfconicalPcylreg	processorZlroundchiZgslsfhyperg1F1ZisInfZgslsfdawsonZgslranerlangpdfZgslsfbesselJ1ZdiffnpZfminZgslsfpsiintZgslcdfpascalQZgslsfairyzeroAiderivZgslsfbesseli1scaledgetlineZgslranlognormalZStringificationZgslsfdebye4ZgslsflogZmpiScattervZgslcdflognormalPinvZgslsfexprelZgslsfbessely0Zgslsfdebye6ZgslrangammaZ
gslsfexpm1Zgslsffermidirac2ZgslsfairyAiderivscaledZgslsffermidiracm1Zmmg3dZgslsfsynchrotron1Z
mpiBarrierlgammaZgslsflogerfcZ	gmshload3ZRecvZgslsfbesselInuscaledZj1ZgslcdfchisqQinvZgslsfgammaincZgslsfbesselYnuZ	emptymeshZgslsfbesselKnZgslcdfchisqPinvsinhZgslsffermidirac0Z	randint32ZseekgZgslranlogisticpdfZgslsflegendreH3dZ
projectionZgslsfbesselJnuZgslcdfexppowQZmpiAllReduceZgslsfconicalP1ZmpiWaitZgslcdfcauchyQinvZjnZ
gslranflatZgslsflnfactZgslsfgegenpoly3Zgslsfgegenpoly1ZfdimZgslsfexprelnZgslcdffdistQinvZgslcdfgumbel1QinvZgslsfbesselKnscaledZgslsfdoublefactZ	adaptmeshZgslsflngammaZgslsfbesselInuZgslcdfflatPdistZgslsflegendrePlmZgslsfexpintE1scaledZgslcdflogisticPinvZrintatanZgslranparetoZgmshloadZsignbitZgslcdfcauchyPinvZgslsfbesselzeroJ1Z
mpiGathervZmpiAllgatherZdyxrandomabsZgslcdfweibullPZgslsfairyzeroBiderivZgslinterppolynomialZfreeyamsZgslranbetapdfZlrintZmpiRankerfsystemZgslcdfparetoPinvZcheckmovemeshZgslsfexpintEiceilZfmaxZgslcdfexponentialQacoshZgslcdfbetaQinvZgslsfbesselI1Zgslsfbessely1truncZgslcdfgumbel2PinvZsavesolZIrecvZmshmetZgslranlandauZgslcdfweibullQinvZgslsfairyBiZgslranugaussianratiomethodZdzzddZgslsfpsitanhZgslcdfgaussianQinvZgslsfbesselj2Zgslsffermidirac1ZgslsffermidirachalfZ	gslsferfcZgslrangaussianzigguratZ	mpiGathersetZ	dimKrylovZgslrancauchypdfZgslcdfparetoQinvZgslranexponentialpdfZgslsfbesselInscaledZgslsfbesselklscaledZgslsfbesselj0ZgslcdftdistPZgslcdflaplaceQinvZgslcdfnegativebinomialPZgslcdfgeometricQZgslsfbesseli2scaledZtetgreconstructionZgslcdfgumbel2QZgslsfexpintEiscaledfloorZgslsflnchooseZgslsfanglerestrictposZgslsffermidiracinc0y1Z
srandomdevZgslcdflaplaceQcosZgslsfairyAiscaledZgslrangaussianZcubeZgslranpascalpdfZ	mpiReduceZmpiAllgathervZgslcdfbinomialPZgslsflegendreP1ZgslrancauchyZgslsfhyperg1F1intZ	randreal3ZgslcdfgammaQZgslsftaylorcoeffZgslsfbesselK1scaledZgslcdfrayleighPinvZgslinterpakimaZgslsfellintDcompZ
gslsfgammaZ	randreal2ZgslcdflogisticQinvZgslsflaguerre3ZconvectZgslcdfbetaPinvZ	gslsfsincZprocessorblockZgslcdfugaussianPZgslsfhydrogenicR1ZgslsfellintFZgslcdfbetaQZgslcdfexponentialPZy0ZclockZgslsflambertW0ZgslcdfgaussianPinvZgslsfbesselI0ZgslsfbesselI0scaledatoiZ	randint31ZgslsffermidiracintZgslranrayleightailZBFGSZgslsflaguerrenZchangeZgslsfairyzeroAiZgslranrayleightailpdfZgslrangumbel2pdfZgslsflaguerre1ZgslsflegendreQ1ZgslsferfZgslcdfpascalPcoshZintallfacesZgslsfhypergUintZgslcdfgumbel1Pinvr'   ZgslrangaussiantailpdfZgslsflaguerre2ZgslsflegendrearraysizeZgslsfexpintEnZgslsfexpZgslsfexpintE1ZgslsflegendreP3ZgslcdfflatPinvZ
gslsfhypotZgslsfbesselk0scaledZdzxZgslsfChiZgslsfzetam1ZgslsfbesselKnuscaledZgslranlandaupdfZgslsfzetaintZ
gslranlevyZgslsflnbetaimagZgslsfairyBiderivZmpiSizeZgslranparetopdfZ
mpiWaitAnypowZmpiWtimeZgslsfdebye5Zgslsfzetam1intZgslcdfchisqQZgslranweibullZgslranugaussianZgslsfbessellnKnuZgslsfanglerestrictsymmatanhZgslranerlangZgslsfbessely2Zgslsfexprel2ZgslcdfweibullQZint2dZgslsfbesselJ0ZgslranrayleighpdfZgslsfbesselJnZgslsfcosZgslcdffdistQNaNZgslcdfchisqPZgslcdflaplacePZgslranlogisticZgslsfhyperg2F0Z	splitmeshatofZgslcdfgumbel1QZgslrangaussianpdfZgslranlogarithmicpdfZgslranfdistpdfZgslsfpowintZgslcdffdistPinvZgslcdfexppowPZgslsfCiZgslsflegendreQ0execZgslsfetaZgslsftransport4assertZgslranpoissonpdfZsavemeshZgslsfsinZgslsfShiZgslcdflaplacePinvZReadZgslsfbesseli0scaledZgslrannegativebinomialpdfZgslsfbesselzeroJ0ZmeditZgslsfgammastarZjumpZgslsflogabsZgslrangumbel1pdfZgslrangammamt>   ZnbregulZ	nbofholesopZhminZabserrorr>   ZerrgZrenumvBZ
reffacemidZnbisoZdparamsZlabelmidZ	facemergeZzboundZepsZ	gradationZlevelsetsaveZdoptionsZnbvxZdatanamesigmainitZivaluecloseZIsMetricZtolpivotZsplitpbedgeZnbiterA1ZhmaxZloptionsordervalueprevZ	rawvectorfillZqforderZholelistZdatafilenameZvepsflagsZlabelupsplitZmemoryZkeepbackverticesZbbZnomeshgenerationZtgvZreftetZfacetclZ
regionlistZthetamaxZisoZstrategyZcmmZbwswitchZ	smoothingabsoluteZtolZfixedborderZmaxitwhichcutoffZfregionZptmergeZnormalizationr)   ZflabelZgreyZlparamsZnboffacetclZtolpivotsymZhsvZB1ZvisoZwithsurfacemeshZpreconomegaAZnbofregionsZ
ridgeangleZbeginendtZvectorZmemfileZdistmaxpowerwidthZ	floatmeshZinsideZ	labeldownmodesymZ
composanteZdisplacementboundaryZvarrowerrZ	maxsubdivZncvZnevZU2VcZaspectratioZ
reffacelowbinZperiodicoptimizerefnumZ	reffaceupZ	factorizestopr1   Z	rescalingZqfVZnbjacobyZsparamsZcoefZdimZsolverZnbarrowoptionZqftZpsoptionsZanisoZinquireZqfeZratioZmetricZmeditffZorientationZfloatsolZsizeofvolumeZWindowIndexZsplitin2ZtransfoZnbsmoothwaitZreftriZ
fixeborder>   ZgradZalignofdoubleZasmZthread_localdivZusingZnoexceptZrestrictZ	constexprtemplateZstatic_assertZtypeidtypenamedecltypethisZmutable	namespacerootc                 c   s   t | ||D ]\}}}|| jv r0|t|fV  q|| jv rJ|tj|fV  q|| jv rd|tj	|fV  q|| j
v r~|tj|fV  q|| jv r|tj|fV  q|| jv r|tj|fV  q|| jv r|tj|fV  q|| jv r|t|fV  q|||fV  qd S )N)r   get_tokens_unprocessed	operatorsr   typesr   Typefespacesr   ZClasspreprocessorr   ZPreprockeywordsZReserved	functionsZFunction
parametersZPseudosuppress_highlight)selftextstackindextokenry    r   d/nfs/NAS7/SABIOD/METHODE/ermites/ermites_venv/lib/python3.9/site-packages/pygments/lexers/freefem.pyr   j  s$    







z#FreeFemLexer.get_tokens_unprocessedN)r   )__name__
__module____qualname____doc__nameurlaliases	filenames	mimetypesZ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   
