Last change
on this file since 9320 was 9320, checked in by Eric.Larour, 14 years ago |
Quality control changes:
- "stdlib" to <stdlib> and similar header file problems.
- fscanf vulnerabilities issues.
|
File size:
341 bytes
|
Line | |
---|
1 | /*!\file: ISFree.cpp
|
---|
2 | * \brief wrapper to ISDestroy
|
---|
3 | */
|
---|
4 |
|
---|
5 | #ifdef HAVE_CONFIG_H
|
---|
6 | #include <config.h>
|
---|
7 | #else
|
---|
8 | #error "Cannot compile with HAVE_CONFIG_H symbol! run configure first!"
|
---|
9 | #endif
|
---|
10 |
|
---|
11 |
|
---|
12 | /*Petsc includes: */
|
---|
13 | #include "petscmat.h"
|
---|
14 | #include "petscmat.h"
|
---|
15 | #include "petscksp.h"
|
---|
16 |
|
---|
17 | void ISFree(IS* pis){
|
---|
18 |
|
---|
19 | if(*pis)ISDestroy(*pis);
|
---|
20 | *pis=NULL;
|
---|
21 |
|
---|
22 | }
|
---|
23 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.