System Preprocessors
Data Structures | Defines
syspro_impl.h File Reference
#include "petsc.h"
#include "syspro.h"

Go to the source code of this file.

Data Structures

struct  NumericalProblem_
struct  SystemPreprocessor_
struct  SalsaTransform_

Defines

#define SYSPROCHECKVALID(i, c, s)   {if (!i) SETERRQ1(1,"Null pointer for <%s>",s); if (i->cookie==0) SETERRQ1(1,"Not a valid <%s>; maybe object has already been freed",s); if (i->cookie!=c) SETERRQ1(1,"Not a valid <%s>",s);}
#define SYSPROCHECKVALIDa(i, c, s, a)   {if (!i) SETERRQ2(1,"Null pointer for <%s>, argument %d",s,a); if (i->cookie==0) SETERRQ2(1,"Not a valid <%s>, argument %d; maybe object has already been freed",s,a); if (i->cookie!=c) SETERRQ2(1,"Not a valid <%s>, argument %d",s,a);}
#define NUMERICALPROBLEMHEADER   MPI_Comm comm; void *ctx;

Define Documentation

#define NUMERICALPROBLEMHEADER   MPI_Comm comm; void *ctx;

Definition at line 10 of file syspro_impl.h.

#define SYSPROCHECKVALID (   i,
  c,
 
)    {if (!i) SETERRQ1(1,"Null pointer for <%s>",s); if (i->cookie==0) SETERRQ1(1,"Not a valid <%s>; maybe object has already been freed",s); if (i->cookie!=c) SETERRQ1(1,"Not a valid <%s>",s);}

Definition at line 7 of file syspro_impl.h.

#define SYSPROCHECKVALIDa (   i,
  c,
  s,
 
)    {if (!i) SETERRQ2(1,"Null pointer for <%s>, argument %d",s,a); if (i->cookie==0) SETERRQ2(1,"Not a valid <%s>, argument %d; maybe object has already been freed",s,a); if (i->cookie!=c) SETERRQ2(1,"Not a valid <%s>, argument %d",s,a);}

Definition at line 8 of file syspro_impl.h.