Commit 1318e298 authored by Turnhout, M.C. van's avatar Turnhout, M.C. van
Browse files

add listings files

parent 6a05d4c1
\lstset{ %
language = Octave, % choose the language of the code
basicstyle = \footnotesize\ttfamily, % the size of the fonts that are used for the code
numbers = left, % where to put the line-numbers
numberstyle = \footnotesize, % the size of the fonts that are used for the line-numbers
stepnumber = 1, % the step between two line-numbers. If it's 1 each line will be numbered
numbersep = 15pt, % how far the line-numbers are from the code
backgroundcolor = \color[rgb]{0.95,0.95,0.95}, % choose the background color. You must add \usepackage{color}
showspaces = false, % show spaces adding particular underscores
showstringspaces = false, % underline spaces within strings
showtabs = false, % show tabs within strings adding particular underscores
frameround = fttt, % rounded frame corners
frame = trBL, % adds a frame around the code
tabsize = 2, % sets default tabsize to 2 spaces
captionpos = b, % sets the caption-position to bottom
breaklines = true, % sets automatic line breaking
breakatwhitespace = false, % sets if automatic breaks should only happen at whitespace
title = \lstname, % show the filename of files included with \lstinputlisting;
% also try caption instead of title
captionpos = t, % sets the caption-position to top
escapeinside = {\%*}{*)}, % if you want to add a comment within your code
%morekeywords = {*,...}, % if you want to add more keywords to the set
commentstyle = \color{green},
stringstyle = \color{red},
keywordstyle = \color{blue},
}
\lstset{ %
language = fortran, % choose the language of the code
morecomment = [f][\color{green}][0]c,
morecomment = [f][\color{green}][0]C,
}
......@@ -7,8 +7,7 @@ morekeywords = {UMAT,STRESS,STATEV,DDSDDE,SSE,SPD,SCD,RPL,DDSDDT,
CELENT,DFGRD0,DFGRD1,NOEL,NPT,LAYER,KSPT,KSTEP, KINC},
keywordstyle=\color[gray]{0.35},
classoffset=0,
morecomment = [f][\color{green}][0]c ,
morecomment = [f][\color{green}][0]C ,
morecomment = [f][\color{green}][1]c,
}
\lst@definelanguage{abaquspython}
......@@ -196,227 +195,298 @@ classoffset=0,
morecomment=[l]\#,
}
\lst@definelanguage{basillab}
\lst@definelanguage{mlfem}
{alsolanguage = Octave,
keywordsprefix = {bas_},
morekeywords = {param}}
\lst@definelanguage{fiblab}
{alsolanguage = Octave,
keywordsprefix = {fib_},
morekeywords = {param,labdef},
classoffset=1,
morekeywords={nbin, npi, nphis, fibtype, instpath, FibLabUrl, FibLabBranch, FibLabVersion, muag, debug, N, pani, bnd, intvars},
keywordstyle=\color{orange}
}
\lst@definelanguage{tflab}
{alsolanguage = Octave,
keywordsprefix = {TF_},
morekeywords = {param,labdef},
classoffset=1,
morekeywords={Efilm,tfilm,tcells,fibdef,imfiles,impath,refframe,nfilm,expname,%
nframe,curlcheck,cutback,lesttol,sigesttol,simfailtol,mininc,maxinc,fancyest,%
instpath,intvars,TFlabUrl,TFlabBranch,TFlabVersion,stack,scale,length, width,%
imR,film,FEMR,FEMl,sigmax,fibpath,fibfiles,phisf,lfsigmaR,lfsigma,inisigs,fiblab,%
FEMbuild,nelx,nely,nCPU,submit},
keywordstyle=\color{orange}
}
\lst@definelanguage{apython}
{alsolanguage = Python,
keywordsprefix = {mdb.},
morekeywords = {WireSpline,
session,
defaultMesherOptions,
setValues,Mdb,
Model,
models,
Part,
name,
dimensionality,
allowMapped,
getClosest,
ShellLoft,
coordinates,
loftsections,
edges,
startCondition,
endCondition,
faces,
AddCells,
faceList,
append,
getSequenceFromMask,
Set,
side1Faces,
side2Faces,
ReferencePoint,
referencePoints,
values,
Material,
material,
materials,
Density,
Hyperelastic,
testData,
volumetricResponse,
table,
HomogeneousSolidSection,
thickness,
SectionAssignment,
region,
sectionName,
offset,
offsetType,
offsetField,
thicknessAssignment,
mask,
sets,
cells,
parts,
ConstrainedSketch,
ArcByCenterEnds,
center,
direction,,
point1,
point2,
Line,
ConstructionLine,
AnalyticRigidSurfRevolve,
sketch,
point,
sheetSize,
Surface,
rootAssembly,
Instance,
rotate,
instanceList,
vector,
axisPoint,
axisDirection,
DatumCsysByDefault,
dependent,
instances,
PartitionFaceByProjectingEdges,
extendEdges,
seedPartInstance,
regions,
partInstance,
size,
deviationFactor,
minSizeFactor,
elemShape,
technique,
mesh,
ElemType,
elemCode,
elemLibrary,
setElementType,
elemTypes,
generateMesh,
setMeshControls,
ContactProperty,
interactionProperties,
TangentialBehavior,
formulation,
NormalBehavior,
pressureOverclosure,
allowSeparation,
constraintEnforcementMethod,
surfaces,
SurfaceToSurfaceContactStd,
createStepName,
master,
slave,
sliding,
interactionProperty,
adjustMethod,
initialClearance,
datumAxis,
contactTracking,
clearanceRegion,
RigidBody,
refPointRegion,
tieRegion,
points,
mergeType,
meshable,
smoothClosedSpline,
RemoveFaces,
deleteCells,
Stitch,
StaticStep,
previous,
description,
timePeriod,
maxNumInc,
initialInc,
minInc,
maxInc,
nlgeom,
DisplacementBC,
u1, u2, u3, ur1, ur2, ur3, vr1, vr2, vr3,
amplitude,
fixed,
distributionType,
fieldName,
localCsys,
VelocityBC,
boundaryConditions,
setValuesInStep,
stepName,
encastreBC,
matrixSolver,
matrixStorage,
solutionTechnique,
useDensity,
part,
steps,
control,
allowPropagation,
resetDefaultValues,
discontinuous,
lineSearch,
fieldOutputRequests,
variables,
numIntervals,
timeMarks,
historyOutputRequests,
suppress,
Job, jobs,
model,
numCpus,
numDomains,
writeInput,
saveAs,
pathName,
submit
}}
\lst@definelanguage{zolab}
{alsolanguage = Octave,
keywordsprefix = {ZO_},
morekeywords = {param,labdef},
classoffset=1,
morekeywords={instpath,intvars,ZOlabUrl,ZOlabBranch,ZOlabVersion, width,%
dir,grid,th,wiener,imadjust,imsharpen,pix,dapi,ZO,smooth,peakh,peakd,%
peakw,count,anaim,pscale,addscale,scalewidth,scaleheight,scaleleft,scalebottom},keywordstyle=\color{orange}}
\lst@definelanguage{DMAlab}
{alsolanguage = Octave,
keywordsprefix = {DMA_},
morekeywords = {param,labdef},
classoffset=1,
morekeywords={instpath,intvars,DMAlabUrl,DMAlabBranch,DMAlabVersion,%
dir,BF,fluo,nchan,nbit,expname,circrad,maxmove},keywordstyle=\color{orange}}
\lst@definelanguage{gitlog}
{sensitive=false,
keywordsprefix = {fib_},
morestring=[d]",%
classoffset=0,
morekeywords={fix, update},keywordstyle=\color{green},
morekeywords = {clearvars,function,end,unique,numel,flipdim,imread,imshow},
%keywordsprefix = {mat.},
classoffset=1,
morekeywords={merge,branch,commit,tag,issue},keywordstyle=\color{blue},
morekeywords={coord, top, pos, dest, nodfrc, bndcnd,inode,ielem,maxnodelm,iimat,iitype, mat,types,idof,ibnd,bndcon,nodfrc,sol,points,curves,subarea,usercurves,userpoints,
usersurfaces,itime,norder,istat,ntime,dt,theta,ietype, nincr, newtoptions,solinc,itype,
qe, qem, qme, qke, rhse, qde, qed,soln},
keywordstyle=\color{orange},
classoffset=2,
morekeywords={bug},keywordstyle=\color{red},
classoffset=0,
morecomment=[l]\#,
morekeywords={startup_nac,
elembld, % elemfnct
elemdrv,
eleminfo,
elemshp,
defdi, % elmlib
elcd_a,
elcd_i,
elcd,
elcd_s,
elcdu_i,
elcdu,
elcdu_s,
elchypo_i,
elchypo,
elchypo_s,
elcneofib_D,
elcneofib_i,
elcneofib,
elcneofib_s,
elcneo_i,
elcneo,
elcneo_s,
elcneotot_i,
elcneotot,
elcneotot_s,
ele_d,
elefib_d,
elefib_i,
elefib,
elefib_s,
ele_i,
ele,
eler_d,
eler_i,
eler,
eler_s,
ele_s,
elineo_i,
elineo,
elineo_s,
elm1dcd_d,
elm1dcd_i,
elm1dcd,
elm1dcd_s,
elm1d_c,
elm1d_d,
elm1d_i,
elm1d,
elm1d_s,
elme_d,
elme_i,
elme,
elme_s,
elneo_i,
elneo,
elneo_s,
elsf_d,
elsf_i,
elsf,
elsf_s,
elucm_i,
elucm,
elucm_s,
elup_d,
elup_i,
elup,
elup_s,
elu_s,
int2elm_e,
int2elm,
int2elmq,
addmesh, % guilib
colegend,
crsshair,
defbndc,
defline,
getcurpt,
getline,
gtbox,
gtinpoly,
gtline,
gtnodcrv,
gtnodelm,
gtnods,
gtpnts,
gtrect,
inside,
isinpoly,
line2pnt,
polyhit,
pzoom,
rmlines,
rmlnpoly,
zoomsurf,
fem1dcd, % main
fem1d,
femlin_cd,
femlin_e,
femlin,
femnl,
femnlt,
areabndcon, % mesh
avnod,
bndconsp,
crmesh_arcfea,
crmesh_arcfe,
crmesh_arc,
crmesharc,
crmesh_area,
crmesh,
getarcs,
innmdxdy,
mcrmesh,
mk3dmesh,
mspbndcon,
plmesh3d,
pointonarc,
repos,
spbndcon,
spcoord,
spmesharc,
spmesh,
trimesh,
trimeshq,
blmesh2d, % meshlib
cleancrd,
meshgen,
meshmk,
addbndc, % meshpde
contraction2,
contraction_b,
contraction_coarse,
contraction,
crackg,
defbndcon,
defgeomd_coarse,
defgeomd_ext,
defgeomd,
defgeom,
defgeom_xyz,
defmesh,
elembld,
elemdrv,
eleminfo,
elemshp,
examples,
genmesh,
refinepoly,
segline,
segmentline,
transmesh_crv,
transmesh,
transmesh_nodpot,
transmesh_start,
user_def_crack,
user_def_curve,
user_def_polygon,
xonarc,
count, % misclib
findcomm,
in,
iscolumnold,
isintegerold,
lump,
reverse,
rowsum,
unblank,
arcl, % plib
arrow,
cnt,
cntr,
coelmdat,
coleg,
conoddat,
covalues,
gplot3,
gplotm,
mcc_conoddat,
mvnoddat,
mvvec,
plarrow3,
plarrow,
plbndc,
plbound,
pldisp,
pldofnum,
pldot,
plelem,
plelgrp,
plelmdat,
plelnum,
plmesh,
plnoddat,
plnodes,
plnodnum,
plnodvec,
plqarrow,
plqarrw3,
plstress,
plusrcrv,
plusrpts,
plvec,
top2grph,
co2pnt, % postlib
dispcrd,
elm2nod,
elm2pnt,
line2elm,
line2sol,
nod2pnt,
plelmco,
princstr,
sol2elm,
sol2nod,
sol2pnt,
gaussl, % shlib
gauss,
gausstri,
getderiv,
qbrick14,
qbrick6,
shape,
shbrck20,
shbrick8,
shbrickv,
shline2,
shline3,
shquad4,
shquad4p1,
shquad5,
shquad8,
shquad9,
shquadv,
shtri3g,
shtri3,
shtri4g,
shtri4,
shtri6g,
shtri6,
shtri7g,
shtri7,
addlag,
addlagn, % sollib
lanczos,
mlbicgstab,
powerit,
soldyn1i,
soldyn2i,
sollag,
sollagn,
solmodal,
solvestat_lu,
solvestat,
chkstream, % stream
crvstream,
elmstream,
elmstr,
femgetstream,
gtstream,
mcc_gtstream,
mvstream,
assemble, % syslib
equatdrv,
equatnr,
gen_elem,
indexbnd,
mkvec,
sysbuild,
sysdrv,
sysinfo,
syslstat,
sysnewt,
findelem, %utlib
inpoly,
nodpot,
plpoly,
polyedge,
solelm,
stminmax,
toppot,
view3d},
keywordstyle=\color{cyan}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment