syspro_anamod.c File Reference

#include <stdlib.h>
#include "anamod.h"
#include "syspro.h"
#include "sysprolinear.h"

Go to the source code of this file.

Functions

PetscErrorCode SysProComputeQuantity (NumericalProblem theproblem, char *cat, char *cmp, void *res, int *reslen, PetscTruth *flg)
PetscErrorCode SysProRetrieveQuantity (NumericalProblem theproblem, char *cat, char *cmp, void *res, int *reslen, PetscTruth *flg)
PetscErrorCode SysProRemoveQuantity (NumericalProblem theproblem, char *cat, char *cmp, PetscTruth *flg)
PetscErrorCode SysProFreeQuantities (NumericalProblem theproblem)


Function Documentation

PetscErrorCode SysProComputeQuantity ( NumericalProblem  theproblem,
char *  cat,
char *  cmp,
void *  res,
int *  reslen,
PetscTruth *  flg 
)

anamod SysPro-AnaMod interface

The SysPro linear package has a few routines to facilitate integration with AnaMod

This routine is used in SysPro to compute quantities. See also SysProRetrieveQuantity().

Definition at line 23 of file syspro_anamod.c.

References CHKERRQ(), ierr, LinearSystemGetMetadata(), and LinearSystemGetParts().

Referenced by flipsign(), MatSymmetricPart(), sans_partition(), specific_flipsign_choices(), and specific_singleton_choices().

PetscErrorCode SysProFreeQuantities ( NumericalProblem  theproblem  ) 

Definition at line 96 of file syspro_anamod.c.

References CHKERRQ(), ierr, and LinearSystemGetMetadata().

PetscErrorCode SysProRemoveQuantity ( NumericalProblem  theproblem,
char *  cat,
char *  cmp,
PetscTruth *  flg 
)

This routine is used to invalidate and free computed quantities. See also SysProRetrieveQuantity(), SysProComputeQuantity().

Definition at line 80 of file syspro_anamod.c.

References CHKERRQ(), ierr, and LinearSystemGetMetadata().

Referenced by singleton_specific_unset().

PetscErrorCode SysProRetrieveQuantity ( NumericalProblem  theproblem,
char *  cat,
char *  cmp,
void *  res,
int *  reslen,
PetscTruth *  flg 
)

This routine is used in SysPro to retrieve already computed quantities. Reports failure if the quantity has not already been computed. See also SysProComputeQuantity().

Definition at line 52 of file syspro_anamod.c.

References CHKERRQ(), ierr, and LinearSystemGetParts().

Referenced by disable_pcs(), eliminate_singletons(), MatSymmetricPart(), set_intelligent_scaling(), specific_approximation_choices(), and specific_scaling_choices().


Generated on Sun Oct 4 04:03:05 2009 for System Preprocessors by  doxygen 1.5.9