OpenCMISS-Iron Internal API Documentation
cmiss_petsc.f90 File Reference

This module is a CMISS buffer module to the PETSc library. More...

Go to the source code of this file.

Data Types

interface  cmisspetsc::PetscFinalize
 
interface  cmisspetsc::PetscInitialize
 
interface  cmisspetsc::PetscPopSignalHandler
 
interface  cmisspetsc::PetscLogView
 
interface  cmisspetsc::ISDestroy
 
interface  cmisspetsc::ISColoringDestroy
 
interface  cmisspetsc::ISLocalToGlobalMappingApply
 
interface  cmisspetsc::ISLocalToGlobalMappingApplyIS
 
interface  cmisspetsc::ISLocalToGlobalMappingCreate
 
interface  cmisspetsc::ISLocalToGlobalMappingDestroy
 
interface  cmisspetsc::KSPCreate
 
interface  cmisspetsc::KSPDestroy
 
interface  cmisspetsc::KSPGetConvergedReason
 
interface  cmisspetsc::KSPGetIterationNumber
 
interface  cmisspetsc::KSPGetPC
 
interface  cmisspetsc::KSPGetResidualNorm
 
interface  cmisspetsc::KSPGMRESSetRestart
 
interface  cmisspetsc::KSPSetFromOptions
 
interface  cmisspetsc::KSPSetInitialGuessNonzero
 
interface  cmisspetsc::KSPSetOperators
 
interface  cmisspetsc::KSPSetReusePreconditioner
 
interface  cmisspetsc::KSPSetTolerances
 
interface  cmisspetsc::KSPSetType
 
interface  cmisspetsc::KSPSetUp
 
interface  cmisspetsc::KSPSolve
 
interface  cmisspetsc::MatAssemblyBegin
 
interface  cmisspetsc::MatAssemblyEnd
 
interface  cmisspetsc::MatCreate
 
interface  cmisspetsc::MatCreateAIJ
 
interface  cmisspetsc::MatCreateDense
 
interface  cmisspetsc::MatCreateSeqAIJ
 
interface  cmisspetsc::MatCreateSeqDense
 
interface  cmisspetsc::MatDenseGetArrayF90
 
interface  cmisspetsc::MatDenseRestoreArrayF90
 
interface  cmisspetsc::MatDestroy
 
interface  cmisspetsc::MatGetInfo
 
interface  cmisspetsc::MatGetOwnershipRange
 
interface  cmisspetsc::MatGetRow
 
interface  cmisspetsc::MatGetValues
 
interface  cmisspetsc::MatMumpsSetIcntl
 
interface  cmisspetsc::MatMumpsSetCntl
 
interface  cmisspetsc::MatRestoreRow
 
interface  cmisspetsc::MatSeqAIJGetArrayF90
 
interface  cmisspetsc::MatSeqAIJGetMaxRowNonzeros
 
interface  cmisspetsc::MatSeqAIJRestoreArrayF90
 
interface  cmisspetsc::MatSetLocalToGlobalMapping
 
interface  cmisspetsc::MatSetOption
 
interface  cmisspetsc::MatSetSizes
 
interface  cmisspetsc::MatSetType
 
interface  cmisspetsc::MatSetValue
 
interface  cmisspetsc::MatSetValues
 
interface  cmisspetsc::MatSetValueLocal
 
interface  cmisspetsc::MatSetValuesLocal
 
interface  cmisspetsc::MatView
 
interface  cmisspetsc::MatZeroEntries
 
interface  cmisspetsc::MatColoringApply
 
interface  cmisspetsc::MatColoringCreate
 
interface  cmisspetsc::MatColoringDestroy
 
interface  cmisspetsc::MatColoringSetFromOptions
 
interface  cmisspetsc::MatColoringSetType
 
interface  cmisspetsc::MatFDColoringCreate
 
interface  cmisspetsc::MatFDColoringDestroy
 
interface  cmisspetsc::MatFDColoringSetFromOptions
 
interface  cmisspetsc::MatFDColoringSetFunction
 
interface  cmisspetsc::MatFDColoringSetParameters
 
interface  cmisspetsc::MatFDColoringSetUp
 
interface  cmisspetsc::PCFactorGetMatrix
 
interface  cmisspetsc::PCFactorSetMatSolverPackage
 
interface  cmisspetsc::PCFactorSetUpMatSolverPackage
 
interface  cmisspetsc::PCSetFromOptions
 
interface  cmisspetsc::PCSetReusePreconditioner
 
interface  cmisspetsc::PCSetType
 
interface  cmisspetsc::SNESCreate
 
interface  cmisspetsc::SNESDestroy
 
interface  cmisspetsc::SNESGetApplicationContext
 
interface  cmisspetsc::SNESGetConvergedReason
 
interface  cmisspetsc::SNESGetFunction
 
interface  cmisspetsc::SNESGetIterationNumber
 
interface  cmisspetsc::SNESGetJacobian
 
interface  cmisspetsc::SNESGetKSP
 
interface  cmisspetsc::SNESGetLineSearch
 
interface  cmisspetsc::SNESGetSolutionUpdate
 
interface  cmisspetsc::SNESMonitorSet
 
interface  cmisspetsc::SNESQNSetRestartType
 
interface  cmisspetsc::SNESQNSetScaleType
 
interface  cmisspetsc::SNESQNSetType
 
interface  cmisspetsc::SNESSetApplicationContext
 
interface  cmisspetsc::SNESSetConvergenceTest
 
interface  cmisspetsc::SNESSetFromOptions
 
interface  cmisspetsc::SNESSetFunction
 
interface  cmisspetsc::SNESSetJacobian
 
interface  cmisspetsc::SNESSetKSP
 
interface  cmisspetsc::SNESSetNormSchedule
 
interface  cmisspetsc::SNESSetTolerances
 
interface  cmisspetsc::SNESSetTrustRegionTolerance
 
interface  cmisspetsc::SNESSetType
 
interface  cmisspetsc::SNESSolve
 
interface  cmisspetsc::SNESLineSearchBTSetAlpha
 
interface  cmisspetsc::SnesLineSearchComputeNorms
 
interface  cmisspetsc::SnesLineSearchGetNorms
 
interface  cmisspetsc::SNESLineSearchGetVecs
 
interface  cmisspetsc::SNESLineSearchSetComputeNorms
 
interface  cmisspetsc::SnesLineSearchSetMonitor
 
interface  cmisspetsc::SnesLineSearchSetNorms
 
interface  cmisspetsc::SNESLineSearchSetOrder
 
interface  cmisspetsc::SNESLineSearchSetTolerances
 
interface  cmisspetsc::SNESLineSearchSetType
 
interface  cmisspetsc::TSCreate
 
interface  cmisspetsc::TSDestroy
 
interface  cmisspetsc::TSGetSolution
 
interface  cmisspetsc::TSMonitorSet
 
interface  cmisspetsc::TSSetDuration
 
interface  cmisspetsc::TSSetExactFinalTime
 
interface  cmisspetsc::TSSetFromOptions
 
interface  cmisspetsc::TSSetInitialTimeStep
 
interface  cmisspetsc::TSSetProblemType
 
interface  cmisspetsc::TSSetRHSFunction
 
interface  cmisspetsc::TSSetSolution
 
interface  cmisspetsc::TSSetTimeStep
 
interface  cmisspetsc::TSSetType
 
interface  cmisspetsc::TSSolve
 
interface  cmisspetsc::TSStep
 
interface  cmisspetsc::TSSundialsSetTolerance
 
interface  cmisspetsc::TSSundialsSetType
 
interface  cmisspetsc::VecAssemblyBegin
 
interface  cmisspetsc::VecAssemblyEnd
 
interface  cmisspetsc::VecCopy
 
interface  cmisspetsc::VecCreate
 
interface  cmisspetsc::VecCreateGhost
 
interface  cmisspetsc::VecCreateGhostWithArray
 
interface  cmisspetsc::VecCreateMPI
 
interface  cmisspetsc::VecCreateMPIWithArray
 
interface  cmisspetsc::VecCreateSeq
 
interface  cmisspetsc::VecCreateSeqWithArray
 
interface  cmisspetsc::VecDestroy
 
interface  cmisspetsc::VecDuplicate
 
interface  cmisspetsc::VecDot
 
interface  cmisspetsc::VecGetArrayF90
 
interface  cmisspetsc::VecGetArrayReadF90
 
interface  cmisspetsc::VecGetLocalSize
 
interface  cmisspetsc::VecGetOwnershipRange
 
interface  cmisspetsc::VecGetSize
 
interface  cmisspetsc::VecGetValues
 
interface  cmisspetsc::VecGhostGetLocalForm
 
interface  cmisspetsc::VecGhostRestoreLocalForm
 
interface  cmisspetsc::VecGhostUpdateBegin
 
interface  cmisspetsc::VecGhostUpdateEnd
 
interface  cmisspetsc::VecNorm
 
interface  cmisspetsc::VecRestoreArrayF90
 
interface  cmisspetsc::VecRestoreArrayReadF90
 
interface  cmisspetsc::VecScale
 
interface  cmisspetsc::VecSet
 
interface  cmisspetsc::VecSetFromOptions
 
interface  cmisspetsc::VecSetLocalToGlobalMapping
 
interface  cmisspetsc::VecSetSizes
 
interface  cmisspetsc::VecSetValues
 
interface  cmisspetsc::VecSetValuesLocal
 
interface  cmisspetsc::VecView
 
interface  cmisspetsc::petsc_snesgetjacobian
 
interface  cmisspetsc::petsc_snessetjacobian
 

Modules

module  cmisspetsc
 This module is a CMISS buffer module to the PETSc library.
 

Functions/Subroutines

subroutine, public cmisspetsc::petsc_errorhandlingsetoff (err, error,)
 Set PETSc error handling on. More...
 
subroutine, public cmisspetsc::petsc_errorhandlingseton (err, error,)
 Set PETSc error handling on. More...
 
subroutine, public cmisspetsc::petsc_finalise (err, error,)
 Buffer routine to the PETSc PetscFinalize routine. More...
 
subroutine, public cmisspetsc::petsc_initialise (file, err, error,)
 Buffer routine to the PETSc PetscInitialize routine. More...
 
subroutine, public cmisspetsc::petsc_logview (viewer, err, error,)
 Buffer routine to the PETSc PetscLogView routine. More...
 
subroutine, public cmisspetsc::petsc_isfinalise (is, err, error,)
 
subroutine, public cmisspetsc::petsc_isinitialise (is, err, error,)
 
subroutine, public cmisspetsc::petsc_isdestroy (is, err, error,)
 Buffer routine to the PETSc ISDestroy routine. More...
 
subroutine, public cmisspetsc::petsc_iscoloringfinalise (iscoloring, err, error,)
 
subroutine, public cmisspetsc::petsc_iscoloringinitialise (iscoloring, err, error,)
 
subroutine, public cmisspetsc::petsc_iscoloringdestroy (iscoloring, err, error,)
 Buffer routine to the PETSc ISColoringDestroy routine. More...
 
subroutine, public cmisspetsc::petsc_islocaltoglobalmappingfinalise (isLocalToGlobalMapping, err, error,)
 
subroutine, public cmisspetsc::petsc_islocaltoglobalmappinginitialise (isLocalToGlobalMapping, err, error,)
 
subroutine, public cmisspetsc::petsc_islocaltoglobalmappingapply (isLocalToGlobalMapping, n, idxIn, idxOut, err, error,)
 Buffer routine to the PETSc ISLocalToGlobalMappingApply routine. More...
 
subroutine, public cmisspetsc::petsc_islocaltoglobalmappingapplyis (isLocalToGlobalMapping, isIn, isOut, err, error,)
 Buffer routine to the PETSc ISLocalToGlobalMappingApplyIS routine. More...
 
subroutine, public cmisspetsc::petsc_islocaltoglobalmappingcreate (communicator, blockSize, n, indices, mode, isLocalToGlobalMapping, err, error,)
 Buffer routine to the PETSc ISLocalToGlobalMappingCreate routine. More...
 
subroutine, public cmisspetsc::petsc_islocaltoglobalmappingdestroy (isLocalToGlobalMapping, err, error,)
 Buffer routine to the PETSc ISLocalToGlobalMappingDestroy routine. More...
 
subroutine, public cmisspetsc::petsc_kspfinalise (ksp, err, error,)
 Finalise the PETSc KSP structure and destroy the KSP. More...
 
subroutine, public cmisspetsc::petsc_kspinitialise (ksp, err, error,)
 Initialise the PETSc KSP structure. More...
 
subroutine, public cmisspetsc::petsc_kspcreate (communicator, ksp, err, error,)
 Buffer routine to the PETSc KSPCreate routine. More...
 
subroutine, public cmisspetsc::petsc_kspdestroy (ksp, err, error,)
 Buffer routine to the PETSc KSPDestroy routine. More...
 
subroutine, public cmisspetsc::petsc_kspgetconvergedreason (ksp, reason, err, error,)
 Buffer routine to the PETSc KSPGetConvergedReason routine. More...
 
subroutine, public cmisspetsc::petsc_kspgetiterationnumber (ksp, iterationNumber, err, error,)
 Buffer routine to the PETSc KSPGetIterationNumber routine. More...
 
subroutine, public cmisspetsc::petsc_kspgetpc (ksp, pc, err, error,)
 Buffer routine to the PETSc KSPGetPC routine. More...
 
subroutine, public cmisspetsc::petsc_kspgetresidualnorm (ksp, residualNorm, err, error,)
 Buffer routine to the PETSc KSPGetResidualNorm routine. More...
 
subroutine, public cmisspetsc::petsc_kspgmressetrestart (ksp, restart, err, error,)
 Buffer routine to the PETSc KSPGMRESSetRestart routine. More...
 
subroutine, public cmisspetsc::petsc_kspsetfromoptions (ksp, err, error,)
 Buffer routine to the PETSc KSPSetFromOptions routine. More...
 
subroutine, public cmisspetsc::petsc_kspsetinitialguessnonzero (ksp, flag, err, error,)
 Buffer routine to the PETSc KSPSetInitialGuessNonzero routine. More...
 
subroutine, public cmisspetsc::petsc_kspsetoperators (ksp, amat, pmat, err, error,)
 Buffer routine to the PETSc KSPSetOperators routine. More...
 
subroutine, public cmisspetsc::petsc_kspsetreusepreconditioner (ksp, flag, err, error,)
 Buffer routine to the PETSc KSPSetReusePreconditioner routine. More...
 
subroutine, public cmisspetsc::petsc_kspsettolerances (ksp, rTol, aTol, dTol, maxIterations, err, error,)
 Buffer routine to the PETSc KSPSetTolerances routine. More...
 
subroutine, public cmisspetsc::petsc_kspsettype (ksp, method, err, error,)
 Buffer routine to the PETSc KSPSetType routine. More...
 
subroutine, public cmisspetsc::petsc_kspsetup (ksp, err, error,)
 Buffer routine to the PETSc KSPSetUp routine. More...
 
subroutine, public cmisspetsc::petsc_kspsolve (ksp, b, x, err, error,)
 Buffer routine to the PETSc KSPSolve routine. More...
 
subroutine, public cmisspetsc::petsc_matfinalise (a, err, error,)
 
subroutine, public cmisspetsc::petsc_matinitialise (a, err, error,)
 
subroutine, public cmisspetsc::petsc_matassemblybegin (A, assemblyType, err, error,)
 Buffer routine to the PETSc MatAssemblyBegin routine. More...
 
subroutine, public cmisspetsc::petsc_matassemblyend (A, assemblyType, err, error,)
 Buffer routine to the PETSc MatAssemblyEnd routine. More...
 
subroutine, public cmisspetsc::petsc_matcreate (communicator, A, err, error,)
 Buffer routine to the PETSc MatCreate routine. More...
 
subroutine, public cmisspetsc::petsc_matcreateaij (communicator, localM, localN, globalM, globalN, diagNumberNonZerosPerRow, diagNumberNonZerosEachRow, offDiagNumberNonZerosPerRow, offDiagNumberNonZerosEachRow, a, err, error,)
 Buffer routine to the PETSc MatCreateAIJ routine. More...
 
subroutine, public cmisspetsc::petsc_matcreatedense (communicator, localM, localN, globalM, globalN, matrixData, a, err, error,)
 Buffer routine to the PETSc MatCreateDense routine. More...
 
subroutine, public cmisspetsc::petsc_matcreateseqaij (communicator, m, n, numberNonZerosPerRow, numberNonZerosEachRow, a, err, error,)
 Buffer routine to the PETSc MatCreateSeqAIJ routine. More...
 
subroutine, public cmisspetsc::petsc_matcreateseqdense (communicator, m, n, matrixData, a, err, error,)
 Buffer routine to the PETSc MatCreateSeqDense routine. More...
 
subroutine, public cmisspetsc::petsc_matdensegetarrayf90 (a, array, err, error,)
 Buffer routine to the PETSc MatDenseGetArrayF90 routine. More...
 
subroutine, public cmisspetsc::petsc_matdenserestorearrayf90 (a, array, err, error,)
 Buffer routine to the PETSc MatDenseRestoreArrayF90 routine. More...
 
subroutine, public cmisspetsc::petsc_matdestroy (a, err, error,)
 Buffer routine to the PETSc MatDestroy routine. More...
 
subroutine, public cmisspetsc::petsc_matgetinfo (a, flag, info, err, error,)
 Buffer routine to the PETSc MatGetInfo routine. More...
 
subroutine, public cmisspetsc::petsc_matgetownershiprange (a, firstRow, lastRow, err, error,)
 Buffer routine to the PETSc MatGetOwnershipRange routine. More...
 
subroutine, public cmisspetsc::petsc_matgetrow (A, rowNumber, numberOfColumns, columns, values, err, error,)
 Buffer routine to the PETSc MatGetRow routine. More...
 
subroutine, public cmisspetsc::petsc_matgetvalues (a, m, mIndices, n, nIndices, values, err, error,)
 Buffer routine to the PETSc MatGetValues routine. More...
 
subroutine, public cmisspetsc::petsc_matmumpsseticntl (factoredMatrix, icntl, ival, err, error,)
 Buffer routine to the PETSc MatMumpsSetIcntl routine. More...
 
subroutine, public cmisspetsc::petsc_matmumpssetcntl (factoredMatrix, icntl, val, err, error,)
 Buffer routine to the PETSc MatMumpsSetCntl routine. More...
 
subroutine, public cmisspetsc::petsc_matrestorerow (A, rowNumber, numberOfColumns, columns, values, err, error,)
 Buffer routine to the PETSc MatRestoreRow routine. More...
 
subroutine, public cmisspetsc::petsc_matseqaijgetarrayf90 (a, array, err, error,)
 Buffer routine to the PETSc MatSeqAIJGetArrayF90 routine. More...
 
subroutine, public cmisspetsc::petsc_matseqaijgetmaxrownonzeros (a, maxNumberNonZeros, err, error,)
 Buffer routine to the PETSc MatSeqAIJGetMaxRowNonzeros routine. More...
 
subroutine, public cmisspetsc::petsc_matseqaijrestorearrayf90 (a, array, err, error,)
 Buffer routine to the PETSc MatSeqAIJRestoreArrayF90 routine. More...
 
subroutine, public cmisspetsc::petsc_matsetlocaltoglobalmapping (a, isLocalToGlobalMapping, err, error,)
 Buffer routine to the PETSc MatSetLocalToGlobalMapping routine. More...
 
subroutine, public cmisspetsc::petsc_matsetoption (a, option, flag, err, error,)
 Buffer routine to the PETSc MatSetOption routine. More...
 
subroutine, public cmisspetsc::petsc_matsetsizes (a, localM, localN, globalM, globalN, err, error,)
 Buffer routine to the PETSc MatSetSizes routine. More...
 
subroutine cmisspetsc::petsc_matsettype (a, matrixType, err, error,)
 Buffer routine to the PETSc MatSetType routine. More...
 
subroutine, public cmisspetsc::petsc_matsetvalue (a, row, col, value, insertMode, err, error,)
 Buffer routine to the PETSc MatSetValue routine. More...
 
subroutine, public cmisspetsc::petsc_matsetvalues (a, m, mIndices, n, nIndices, values, insertMode, err, error,)
 Buffer routine to the PETSc MatSetValues routine. More...
 
subroutine, public cmisspetsc::petsc_matsetvaluelocal (a, row, col, VALUE, insertMode, err, error,)
 Buffer routine to the PETSc MatSetValueLocal routine. More...
 
subroutine, public cmisspetsc::petsc_matsetvalueslocal (a, m, mIndices, n, nIndices, values, insertMode, err, error,)
 Buffer routine to the PETSc MatSetValuesLocal routine. More...
 
subroutine, public cmisspetsc::petsc_matview (a, viewer, err, error,)
 Buffer routine to the PETSc MatView routine. More...
 
subroutine, public cmisspetsc::petsc_matzeroentries (a, err, error,)
 Buffer routine to the PETSc MatZeroEntries routine. More...
 
subroutine, public cmisspetsc::petsc_matcoloringfinalise (matColoring, err, error,)
 
subroutine, public cmisspetsc::petsc_matcoloringinitialise (matColoring, err, error,)
 
subroutine, public cmisspetsc::petsc_matcoloringapply (matColoring, isColoring, err, error,)
 Buffer routine to the PETSc MatColoringApply routine. More...
 
subroutine, public cmisspetsc::petsc_matcoloringcreate (a, matColoring, err, error,)
 Buffer routine to the PETSc MatColoringCreate routine. More...
 
subroutine, public cmisspetsc::petsc_matcoloringdestroy (matColoring, err, error,)
 Buffer routine to the PETSc MatColoringDestroy routine. More...
 
subroutine, public cmisspetsc::petsc_matcoloringsetfromoptions (matColoring, err, error,)
 Buffer routine to the PETSc MatColoringSetFromOptions routine. More...
 
subroutine, public cmisspetsc::petsc_matcoloringsettype (matColoring, coloringType, err, error,)
 Buffer routine to the PETSc MatColoringSetType routine. More...
 
subroutine, public cmisspetsc::petsc_matfdcoloringfinalise (matFDColoring, err, error,)
 
subroutine, public cmisspetsc::petsc_matfdcoloringinitialise (matFDColoring, err, error,)
 
subroutine, public cmisspetsc::petsc_matfdcoloringcreate (a, isColoring, matFDColoring, err, error,)
 Buffer routine to the PETSc MatFDColoringCreate routine. More...
 
subroutine, public cmisspetsc::petsc_matfdcoloringdestroy (matFDColoring, err, error,)
 Buffer routine to the PETSc MatFDColoringDestroy routine. More...
 
subroutine, public cmisspetsc::petsc_matfdcoloringsetfromoptions (matFDColoring, err, error,)
 Buffer routine to the PETSc MatFDColoringSetFromOptions routine. More...
 
subroutine, public cmisspetsc::petsc_matfdcoloringsetparameters (matFDColoring, rError, uMin, err, error,)
 Buffer routine to the PETSc MatFDColoringSetParameters routine. More...
 
subroutine, public cmisspetsc::petsc_matfdcoloringsetfunction (matFDColoring, fFunction, ctx, err, error,)
 Buffer routine to the PETSc MatFDColoringSetFunction routine. More...
 
subroutine, public cmisspetsc::petsc_matfdcoloringsetup (a, isColoring, matFDColoring, err, error,)
 Buffer routine to the PETSc MatFDColoringSetup routine. More...
 
subroutine, public cmisspetsc::petsc_pcfinalise (pc, err, error,)
 
subroutine, public cmisspetsc::petsc_pcinitialise (pc, err, error,)
 
subroutine, public cmisspetsc::petsc_pcfactorgetmatrix (pc, factoredMatrix, err, error,)
 Buffer routine to the PETSc PCFactorGetMatrix routine. More...
 
subroutine, public cmisspetsc::petsc_pcfactorsetmatsolverpackage (pc, solverPackage, err, error,)
 Buffer routine to the PETSc PCFactoSetMatSolverPackage routine. More...
 
subroutine, public cmisspetsc::petsc_pcfactorsetupmatsolverpackage (pc, err, error,)
 Buffer routine to the PETSc PCFactorSetUpMatSolverPackage routine. More...
 
subroutine, public cmisspetsc::petsc_pcsetreusepreconditioner (pc, flag, err, error,)
 Buffer routine to the PETSc PCSetReusePreconditioner routine. More...
 
subroutine, public cmisspetsc::petsc_pcsetfromoptions (pc, err, error,)
 Buffer routine to the PETSc PCSetFromOptions routine. More...
 
subroutine, public cmisspetsc::petsc_pcsettype (pc, method, err, error,)
 Buffer routine to the PETSc PCSetType routine. More...
 
subroutine, public cmisspetsc::petsc_snesfinalise (snes, err, error,)
 
subroutine, public cmisspetsc::petsc_snesinitialise (snes, err, error,)
 
subroutine, public cmisspetsc::petsc_snescomputejacobiandefault (snes, x, j, b, ctx, err, error,)
 Buffer routine to the PETSc SNESComputeJacobianDefault routine. More...
 
subroutine, public cmisspetsc::petsc_snescomputejacobiandefaultcolor (snes, x, j, b, ctx, err, error,)
 Buffer routine to the PETSc SNESComputeJacobianDefaultColor routine. More...
 
subroutine, public cmisspetsc::petsc_snescreate (communicator, snes, err, error,)
 Buffer routine to the PETSc SNESCreate routine. More...
 
subroutine, public cmisspetsc::petsc_snesdestroy (snes, err, error,)
 Buffer routine to the PETSc SNESDestroy routine. More...
 
subroutine, public cmisspetsc::petsc_snesgetapplicationcontext (snes, ctx, err, error,)
 Buffer routine to the PETSc SNESGetApplicationContext routine. More...
 
subroutine, public cmisspetsc::petsc_snesgetconvergedreason (snes, reason, err, error,)
 Buffer routine to the PETSc SNESGetConvergedReason routine. More...
 
subroutine, public cmisspetsc::petsc_snesgetfunction (snes, f, err, error,)
 Buffer routine to the PETSc SNESGetFunction routine. More...
 
subroutine, public cmisspetsc::petsc_snesgetiterationnumber (snes, iterationNumber, err, error,)
 Buffer routine to the PETSc SNESGetIterationNumber routine. More...
 
subroutine cmisspetsc::petsc_snesgetjacobiansolver (snes, a, b, jFunction, err, error,)
 Buffer routine to the PETSc SNESSetJacobian routine for solver contexts. More...
 
subroutine cmisspetsc::petsc_snesgetjacobianspecial (snes, a, err, error,)
 Buffer routine to the PETSc SNESSetJacobian routine for solver contexts. More...
 
subroutine, public cmisspetsc::petsc_snesgetksp (snes, ksp, err, error,)
 Buffer routine to the PETSc SNESGetKSP routine. More...
 
subroutine, public cmisspetsc::petsc_snesgetlinesearch (snes, lineSearch, err, error,)
 Buffer routine to the PETSc SNESGetLineSearch routine. More...
 
subroutine, public cmisspetsc::petsc_snesgetsolutionupdate (snes, solutionUpdate, err, error,)
 Buffer routine to the PETSC SNESGetSolutionUpdate routine. More...
 
subroutine, public cmisspetsc::petsc_snesmonitorset (snes, mFunction, ctx, err, error,)
 Buffer routine to the PETSc SNESMonitorSet routine. More...
 
subroutine, public cmisspetsc::petsc_snesqnsetrestarttype (snes, rType, err, error,)
 Buffer routine to the PETSc SNESQNSetRestartType routine. More...
 
subroutine, public cmisspetsc::petsc_snesqnsetscaletype (snes, sType, err, error,)
 Buffer routine to the PETSc SNESQNSetScaleType routine. More...
 
subroutine, public cmisspetsc::petsc_snesqnsettype (snes, qType, err, error,)
 Buffer routine to the PETSc SNESQNSetType routine. More...
 
subroutine, public cmisspetsc::petsc_snessetapplicationcontext (snes, ctx, err, error,)
 Buffer routine to the PETSc SNESSetApplicationContext routine. More...
 
subroutine, public cmisspetsc::petsc_snessetconvergencetest (snes, cFunction, ctx, err, error,)
 Buffer routine to the PETSc SNESSetFunction routine. More...
 
subroutine, public cmisspetsc::petsc_snessetfromoptions (snes, err, error,)
 Buffer routine to the PETSc SNESSetFromOptions routine. More...
 
subroutine, public cmisspetsc::petsc_snessetfunction (snes, f, fFunction, ctx, err, error,)
 Buffer routine to the PETSc SNESSetFunction routine. More...
 
subroutine cmisspetsc::petsc_snessetjacobianmatfdcoloring (snes, a, b, jFunction, ctx, err, error,)
 Buffer routine to the PETSc SNESSetJacobian routine for MatFDColoring contexts. More...
 
subroutine cmisspetsc::petsc_snessetjacobiansolver (snes, a, b, jFunction, ctx, err, error,)
 Buffer routine to the PETSc SNESSetJacobian routine for solver contexts. More...
 
subroutine, public cmisspetsc::petsc_snessetksp (snes, ksp, err, error,)
 Buffer routine to the PETSc SNESGetKSP routine. More...
 
subroutine, public cmisspetsc::petsc_snessetnormschedule (snes, normSchedule, err, error,)
 Buffer routine to the PETSc SNESSetNormSchedule routine. More...
 
subroutine, public cmisspetsc::petsc_snessettolerances (snes, absTol, rTol, sTol, maxIterations, maxFunctionEvals, err, error,)
 Buffer routine to the PETSc SNESSetTolerances routine. More...
 
subroutine, public cmisspetsc::petsc_snessettrustregiontolerance (snes, trTol, err, error,)
 Buffer routine to the PETSc SNESSetTrustRegionTolerance routine. More...
 
subroutine, public cmisspetsc::petsc_snessettype (snes, method, err, error,)
 Buffer routine to the PETSc SNESSetType routine. More...
 
subroutine, public cmisspetsc::petsc_snessolve (snes, b, x, err, error,)
 Buffer routine to the PETSc SNESSolve routine. More...
 
subroutine, public cmisspetsc::petsc_sneslinesearchfinalise (lineSearch, err, error,)
 
subroutine, public cmisspetsc::petsc_sneslinesearchinitialise (lineSearch, err, error,)
 
subroutine, public cmisspetsc::petsc_sneslinesearchbtsetalpha (lineSearch, alpha, err, error,)
 Buffer routine to the PETSc SNESLineSearchBTSetAlpha routine. More...
 
subroutine, public cmisspetsc::petsc_sneslinesearchcomputenorms (lineSearch, err, error,)
 Buffer routine to the PETSc SNESLineSearchComputeNorms routine. More...
 
subroutine, public cmisspetsc::petsc_sneslinesearchgetnorms (lineSearch, xNorm, fNorm, yNorm, err, error,)
 Buffer routine to the petsc SnesLineSearchGetNorms routine. More...
 
subroutine, public cmisspetsc::petsc_sneslinesearchgetvecs (lineSearch, x, f, y, w, g, err, error,)
 Buffer routine to the PETSc SNESLineSearchGetVecs routine. More...
 
subroutine, public cmisspetsc::petsc_sneslinesearchsetcomputenorms (lineSearch, computeNorms, err, error,)
 Buffer routine to the PETSc SNESLineSearchSetComputeNorms routine. More...
 
subroutine, public cmisspetsc::petsc_sneslinesearchsetmonitor (lineSearch, monitorLinesearch, err, error,)
 Buffer routine to the PETSc SNESLineSearchSetMonitor routine. More...
 
subroutine, public cmisspetsc::petsc_sneslinesearchsetnorms (snes, xNorm, fNorm, yNorm, err, error,)
 Buffer routine to the petsc SnesLineSearchSetNorms routine. More...
 
subroutine, public cmisspetsc::petsc_sneslinesearchsetorder (lineSearch, lineSearchOrder, err, error,)
 Buffer routine to the PETSc SNESLineSearchSetOrder routine. More...
 
subroutine, public cmisspetsc::petsc_sneslinesearchsettolerances (lineSearch, steptol, maxstep, rtol, atol, ltol, maxIt, err, error,)
 Buffer routine to the PETSc SNESLineSearchSetTolerances routine. More...
 
subroutine, public cmisspetsc::petsc_sneslinesearchsettype (lineSearch, lineSearchType, err, error,)
 Buffer routine to the PETSc SNESLineSearchSetType routine. More...
 
subroutine, public cmisspetsc::petsc_tsfinalise (ts, err, error,)
 
subroutine, public cmisspetsc::petsc_tsinitialise (ts, err, error,)
 
subroutine, public cmisspetsc::petsc_tscreate (communicator, ts, err, error,)
 Buffer routine to the PETSc TSCreate routine. More...
 
subroutine, public cmisspetsc::petsc_tsdestroy (ts, err, error,)
 Buffer routine to the PETSc TSDestroy routine. More...
 
subroutine, public cmisspetsc::petsc_tsgetsolution (ts, currentSolution, err, error,)
 Buffer routine to the PETSc TSGetSolution routine. More...
 
subroutine, public cmisspetsc::petsc_tsmonitorset (ts, mFunction, ctx, err, error,)
 Buffer routine to the PETSc TSMonitorSet routine. More...
 
subroutine, public cmisspetsc::petsc_tssetduration (ts, maxSteps, maxTime, err, error,)
 Buffer routine to the PETSc TSSetDuration routine. More...
 
subroutine, public cmisspetsc::petsc_tssetexactfinaltime (ts, exactFinalTime, err, error,)
 Buffer routine to the PETSc TSSetExactFinalTime routine. More...
 
subroutine, public cmisspetsc::petsc_tssetfromoptions (ts, err, error,)
 Buffer routine to the PETSc TSSetFromOptions routine. More...
 
subroutine, public cmisspetsc::petsc_tssetinitialtimestep (ts, initialTime, timeStep, err, error,)
 Buffer routine to the PETSc TSSetInitialTimeStep routine. More...
 
subroutine, public cmisspetsc::petsc_tssetproblemtype (ts, probType, err, error,)
 Buffer routine to the PETSc TSSetProblemType routine. More...
 
subroutine, public cmisspetsc::petsc_tssetrhsfunction (ts, rates, rhsFunction, ctx, err, error,)
 Buffer routine to the PETSc TSSetRHSFunction routine. More...
 
subroutine, public cmisspetsc::petsc_tssetsolution (ts, initialSolution, err, error,)
 Buffer routine to the PETSc TSSetSolution routine. More...
 
subroutine, public cmisspetsc::petsc_tssettimestep (ts, timeStep, err, error,)
 Buffer routine to the PETSc TSSetTimeStep routine. More...
 
subroutine, public cmisspetsc::petsc_tssettype (ts, method, err, error,)
 Buffer routine to the PETSc TSSetType routine. More...
 
subroutine, public cmisspetsc::petsc_tssolve (ts, x, finalTime, err, error,)
 Buffer routine to the PETSc TSSolve routine. More...
 
subroutine, public cmisspetsc::petsc_tsstep (ts, steps, pTime, err, error,)
 Buffer routine to the PETSc TSStep routine. More...
 
subroutine, public cmisspetsc::petsc_tssundialssettype (ts, sundialsType, err, error,)
 Buffer routine to the PETSc TSSundialsSetType routine. More...
 
subroutine, public cmisspetsc::petsc_tssundialssettolerance (ts, absTol, relTol, err, error,)
 Buffer routine to the PETSc TSSundialsSetTolerance routine. More...
 
subroutine, public cmisspetsc::petsc_vecfinalise (x, err, error,)
 
subroutine, public cmisspetsc::petsc_vecinitialise (x, err, error,)
 
subroutine, public cmisspetsc::petsc_vecassemblybegin (x, err, error,)
 Buffer routine to the PETSc VecAssemblyBegin routine. More...
 
subroutine, public cmisspetsc::petsc_vecassemblyend (x, err, error,)
 Buffer routine to the PETSc VecAssemblyEnd routine. More...
 
subroutine, public cmisspetsc::petsc_veccopy (x, y, err, error,)
 Buffer routine to the PETSc VecCopy routine. More...
 
subroutine, public cmisspetsc::petsc_veccreate (communicator, x, err, error,)
 Buffer routine to the PETSc VecCreate routine. More...
 
subroutine, public cmisspetsc::petsc_veccreateghost (communicator, localN, globalN, numGhosts, ghosts, x, err, error,)
 Buffer routine to the PETSc VecCreateGhost routine. More...
 
subroutine, public cmisspetsc::petsc_veccreateghostwitharray (communicator, localN, globalN, numGhosts, ghosts, array, x, err, error,)
 Buffer routine to the PETSc VecCreateGhostWithArray routine. More...
 
subroutine, public cmisspetsc::petsc_veccreatempi (communicator, localN, globalN, x, err, error,)
 Buffer routine to the PETSc VecCreateMPI routine. More...
 
subroutine, public cmisspetsc::petsc_veccreatempiwitharray (communicator, localN, globalN, array, x, err, error,)
 Buffer routine to the PETSc VecCreateMPIWithArray routine. More...
 
subroutine, public cmisspetsc::petsc_veccreateseq (communicator, n, x, err, error,)
 Buffer routine to the PETSc VecCreateSeq routine. More...
 
subroutine, public cmisspetsc::petsc_veccreateseqwitharray (communicator, n, array, x, err, error,)
 Buffer routine to the PETSc VecCreateSeqWithArray routine. More...
 
subroutine, public cmisspetsc::petsc_vecdestroy (x, err, error,)
 Buffer routine to the PETSc VecDestroy routine. More...
 
subroutine, public cmisspetsc::petsc_vecduplicate (x, y, err, error,)
 Buffer routine to the PETSc VecDuplicate routine. More...
 
subroutine, public cmisspetsc::petsc_vecdot (x, y, dotProduct, err, error,)
 Buffer routine to the PETSc VecDot routine. More...
 
subroutine, public cmisspetsc::petsc_vecgetarrayf90 (x, array, err, error,)
 Buffer routine to the PETSc VecGetArrayF90 routine. More...
 
subroutine, public cmisspetsc::petsc_vecgetarrayreadf90 (x, array, err, error,)
 Buffer routine to the PETSc VecGetArrayReadF90 routine. More...
 
subroutine, public cmisspetsc::petsc_vecgetlocalsize (x, n, err, error,)
 Buffer routine to the PETSc VecGetLocalSize routine. More...
 
subroutine, public cmisspetsc::petsc_vecgetownershiprange (x, low, high, err, error,)
 Buffer routine to the PETSc VecGetOwnershipRange routine. More...
 
subroutine, public cmisspetsc::petsc_vecgetsize (x, n, err, error,)
 Buffer routine to the PETSc VecGetSize routine. More...
 
subroutine, public cmisspetsc::petsc_vecgetvalues (x, n, indices, values, err, error,)
 Buffer routine to the PETSc VecGetValues routine. More...
 
subroutine cmisspetsc::petsc_vecghostgetlocalform (g, l, err, error,)
 Buffer routine to the PETSc VecGhostGetLocalForm routine. More...
 
subroutine cmisspetsc::petsc_vecghostrestorelocalform (g, l, err, error,)
 Buffer routine to the PETSc VecGhostRestoreLocalForm routine. More...
 
subroutine cmisspetsc::petsc_vecghostupdatebegin (x, insertMode, scatterMode, err, error,)
 Buffer routine to the PETSc VecGhostUpdateBegin routine. More...
 
subroutine cmisspetsc::petsc_vecghostupdateend (x, insertMode, scatterMode, err, error,)
 Buffer routine to the PETSc VecGhostUpdateEnd routine. More...
 
subroutine, public cmisspetsc::petsc_vecnorm (x, normType, norm, err, error,)
 Buffer routine to the PETSc VecNorm routine. More...
 
subroutine, public cmisspetsc::petsc_vecrestorearrayf90 (x, array, err, error,)
 Buffer routine to the PETSc VecRestoreArrayF90 routine. More...
 
subroutine, public cmisspetsc::petsc_vecrestorearrayreadf90 (x, array, err, error,)
 Buffer routine to the PETSc VecRestoreArrayReadF90 routine. More...
 
subroutine, public cmisspetsc::petsc_vecscale (x, alpha, err, error,)
 Buffer routine to the PETSc VecScale routine. More...
 
subroutine, public cmisspetsc::petsc_vecset (x, VALUE, err, error,)
 Buffer routine to the PETSc VecSet routine. More...
 
subroutine, public cmisspetsc::petsc_vecsetfromoptions (x, err, error,)
 Buffer routine to the PETSc VecSetFromOptions routine. More...
 
subroutine, public cmisspetsc::petsc_vecsetlocaltoglobalmapping (x, isLocalToGlobalMapping, err, error,)
 Buffer routine to the PETSc VecSetLocalToGlobalMapping routine. More...
 
subroutine, public cmisspetsc::petsc_vecsetsizes (x, localN, globalN, err, error,)
 Buffer routine to the PETSc VecSetSizes routine. More...
 
subroutine, public cmisspetsc::petsc_vecsetvalues (x, n, indices, values, insertMode, err, error,)
 Buffer routine to the PETSc VecSetValues routine. More...
 
subroutine cmisspetsc::petsc_setvalueslocal (x, n, indices, values, insertMode, err, error,)
 Buffer routine to the PETSc VecSetValuesLocal routine. More...
 
subroutine, public cmisspetsc::petsc_vecview (x, viewer, err, error,)
 Buffer routine to the PETSc VecView routine. More...
 
subroutine snessetjacobianbuffer (snes, A, B, jFunction, matFDColoring, err)
 Buffer routine to the PETSc SNESSetJacobian routine for MatFDColoring contexts. The buffer is required because we want to provide an interface so that we can pass a pointer to the solver for analytic Jacobian's. However, if we provided an interface the Fortran's strong typing rules would not let us pass the matfdcoloring. More...
 

Variables

logical, save cmisspetsc::petschandleerror
 

Detailed Description

This module is a CMISS buffer module to the PETSc library.

Author
Chris Bradley

LICENSE

Version: MPL 1.1/GPL 2.0/LGPL 2.1

The contents of this file are subject to the Mozilla Public License Version 1.1 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.mozilla.org/MPL/

Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License.

The Original Code is OpenCMISS

The Initial Developer of the Original Code is University of Auckland, Auckland, New Zealand, the University of Oxford, Oxford, United Kingdom and King's College, London, United Kingdom. Portions created by the University of Auckland, the University of Oxford and King's College, London are Copyright (C) 2007-2010 by the University of Auckland, the University of Oxford and King's College, London. All Rights Reserved.

Contributor(s):

Alternatively, the contents of this file may be used under the terms of either the GNU General Public License Version 2 or later (the "GPL"), or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), in which case the provisions of the GPL or the LGPL are applicable instead of those above. If you wish to allow use of your version of this file only under the terms of either the GPL or the LGPL, and not to allow others to use your version of this file under the terms of the MPL, indicate your decision by deleting the provisions above and replace them with the notice and other provisions required by the GPL or the LGPL. If you do not delete the provisions above, a recipient may use your version of this file under the terms of any one of the MPL, the GPL or the LGPL.

Definition in file cmiss_petsc.f90.

Function/Subroutine Documentation

subroutine snessetjacobianbuffer ( type(petscsnestype), intent(inout)  snes,
type(petscmattype), intent(inout)  A,
type(petscmattype), intent(inout)  B,
external  jFunction,
type(petscmatfdcoloringtype)  matFDColoring,
integer(intg), intent(out)  err 
)
private

Buffer routine to the PETSc SNESSetJacobian routine for MatFDColoring contexts. The buffer is required because we want to provide an interface so that we can pass a pointer to the solver for analytic Jacobian's. However, if we provided an interface the Fortran's strong typing rules would not let us pass the matfdcoloring.

Parameters
[in,out]snesThe snes to set the function for
[in,out]aThe Jacobian matrix
[in,out]bThe Jacobian preconditioning matrix
jfunctionThe external function to call
matfdcoloringThe MatFDColoring data to pass to the function
[out]errThe error code

Definition at line 7545 of file cmiss_petsc.f90.

Referenced by cmisspetsc::petsc_snessetjacobianmatfdcoloring().