Last change
on this file since 11896 was 11896, checked in by habbalf, 13 years ago |
petsc-dev : Petsc development code in external packages. Mercurial updates
|
-
Property svn:executable
set to
*
|
File size:
260 bytes
|
Line | |
---|
1 | function err = PetscOptionsSetValue(option,value)
|
---|
2 | %
|
---|
3 | % Adds an option to the database
|
---|
4 | %
|
---|
5 | if (nargin == 1)
|
---|
6 | value = '';
|
---|
7 | end
|
---|
8 | if (~ischar(value))
|
---|
9 | value = num2str(value);
|
---|
10 | end
|
---|
11 | err = calllib('libpetsc', 'PetscOptionsSetValue', option,value);PetscCHKERRQ(err);
|
---|
12 |
|
---|
13 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.