Chapter 1 Codes:

 

fofdh.m, 5

heat.m, 13

heat1d.m, 20

flow1d.m, 28

mov1d.m, 29

heat2d.m, 35

mov2dheat.m, 37

flow2d.m, 38

mov2dflow.m, 39

eulerr.m, 44

heaterr.m, 48

flow1derr.m, 48

heatl.f90, 174

 

Chapter 2 Codes:

 

ijsol.m, 56

jisol.m, 56

heatgelm.m, 66

fin1d.m, 73

trid.m, 73,93

bvp.m, 93

bvperr.m, 96

 

Chapter 3 Codes:

 

sorfin.m, 103

sor2d.m, 111

sor2d.f90, 114

fin2d.f90. 114

por2d.m, 119

por2d.f90, 174

ideal2d.m, 125

st.m, 135

fem2d.m, 137

ffem2d.m, 137

genbc1.m, 137

gennod.m, 137

genxy.m, 137

precg.m, 141

ssor.m, 141

 

Chapter 4 Codes:

 

picard.m, 149

gpic.m, 149

newton.m, 150

fnewt.m, 150

fnewtp.m, 150

newton.f90, 174

nonlin.m, 156

fnonl.m, 156

fnonlp.m, 156

picpcg.m, 161

picpcg.f90, 161, 174

cond.m, 161

pcgssor.m, 161

sor3d.m, 169

solar3d.f90, 174

cgssor3d(), 174

movsolar3d.m, 177

outsolar data, 177

gedd.m, 184, 324

 

Chapter 5 Codes:

 

SIDiff.1d.m, 193

SIDiff.2d.m, 201

coeff-in-laplace.m, 201

pcgssor.m, 201

update-bc.m, 201

image-1d.m, 210

psi.m, 210,215

psi-prime.m, 210,215

Setup1d.m, 210

image-2d.m, 216

cgcrv.m, 215

integral-op.m, 215

Setup2d.m, 215

bs1d.m, 224

bs2d.m, 230

 

Chapter 6 Codes:

 

heat3d.m, 247

flow3d.m, 255

trapmpi.f, 259

            trapmpi.c

matvecmpi.f, 264

mmmpi.f, 266

heat2dmpi.f, 270

poll2dmpi.f, 273

 

Chapter 7 Codes:

 

basicmpi.f, 278

            basicmpi.c

dot1mpi.f, 280

            dot1mpi.c

reducmpi.f, 284

            reducmpi.c

dot2mpi.f, 285

            dot2mpi.c

bcastmpi.f, 286

            bcastmpi.c

scatmpi.f, 290

            scatmpi.c

gathmpi.f, 291

            gathmpi.c

dot3mpi.f, 292

            dot3mpi.c

countmpi.f, 294

countmpi.c

dertypempi.f, 296

            dertypempi.c

packmpi.f, 299

            packmpi.c

gridcommpi.f, 304

foxmpi.f, 308

 

Chapter 8 Codes:

 

gedd.m, 185, 324

geddmpi.f, 325

cgssor3(), 325

gespd(),322,325

matrix-def(), 325

sorddmpi.f, 335

 

Chapter 9 Codes:

 

pccg.m, 353

bdiagpc.m, 353

ssorpc.m, 353

cgssormpi.f, 356

pcgmres.m, 370

ssorpc.m, 370

gmresmmpi.f, 373