Last change
on this file since 11867 was 11867, checked in by Mathieu Morlighem, 13 years ago |
Pairoptions less restrictive for now
|
File size:
797 bytes
|
Rev | Line | |
---|
[5954] | 1 | %NONE class definition
|
---|
| 2 | %
|
---|
| 3 | % Usage:
|
---|
[5985] | 4 | % cluster=none();
|
---|
| 5 | % cluster=none('np',3);
|
---|
| 6 | % cluster=none('np',3,'login','username');
|
---|
| 7 |
|
---|
[5954] | 8 | classdef none
|
---|
| 9 | properties (SetAccess=public)
|
---|
| 10 | name='none'
|
---|
| 11 | end
|
---|
| 12 | methods
|
---|
[5980] | 13 | function cluster=none(varargin) % {{{1
|
---|
[11867] | 14 | cluster=AssignObjectFields(pairoptions(varargin{:}),cluster);
|
---|
[5980] | 15 | end
|
---|
| 16 | %}}}
|
---|
| 17 | function disp(cluster) % {{{1
|
---|
| 18 | % display the object
|
---|
| 19 | disp(sprintf('cluster class ''%s'' object ''%s'' = ',class(cluster),inputname(1)));
|
---|
| 20 | disp(sprintf(' name: %s',cluster.name));
|
---|
| 21 | end
|
---|
| 22 | %}}}
|
---|
[9853] | 23 | function checkconsistency(cluster,md,solution,analyses) % {{{1
|
---|
[5980] | 24 | end
|
---|
| 25 | %}}}
|
---|
[6219] | 26 | function BuildQueueScript(cluster,md) % {{{1
|
---|
[5980] | 27 | error('none.BuildQueueScript error message: serial cluster cannot build queue script');
|
---|
| 28 | end
|
---|
| 29 | %}}}
|
---|
[5954] | 30 | end
|
---|
| 31 | end
|
---|
Note:
See
TracBrowser
for help on using the repository browser.