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
|
Line | |
---|
1 | %NONE class definition
|
---|
2 | %
|
---|
3 | % Usage:
|
---|
4 | % cluster=none();
|
---|
5 | % cluster=none('np',3);
|
---|
6 | % cluster=none('np',3,'login','username');
|
---|
7 |
|
---|
8 | classdef none
|
---|
9 | properties (SetAccess=public)
|
---|
10 | name='none'
|
---|
11 | end
|
---|
12 | methods
|
---|
13 | function cluster=none(varargin) % {{{1
|
---|
14 | cluster=AssignObjectFields(pairoptions(varargin{:}),cluster);
|
---|
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 | %}}}
|
---|
23 | function checkconsistency(cluster,md,solution,analyses) % {{{1
|
---|
24 | end
|
---|
25 | %}}}
|
---|
26 | function BuildQueueScript(cluster,md) % {{{1
|
---|
27 | error('none.BuildQueueScript error message: serial cluster cannot build queue script');
|
---|
28 | end
|
---|
29 | %}}}
|
---|
30 | end
|
---|
31 | end
|
---|
Note:
See
TracBrowser
for help on using the repository browser.