Skip to content
Snippets Groups Projects
Commit 836e33e0 authored by Federico Felici's avatar Federico Felici
Browse files

Cleanup SCD class

parent 77ddad50
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,9 @@ classdef SCD
% main interface class for interacting with SCD expcodes
%
% H = SCD.load(expcode); % loads the obj for a desired expcode
% H = SCD.init(expcode,shot); % does load, setup, callinits, actualize
% H = SCD.init(expcode); % loads and initialize
% H = SCD.prepforcompile(expcode); % loads, initialize, and setup (ready for compilation)
% H = SCD.prepforsim(expcode,shot); % does load, init, setup, actualize
%
% C = SCD.getexpcodecontainer; % get expcode container
......@@ -20,19 +22,20 @@ classdef SCD
SCDconf_setSIMconf; % set conf for simulation
end
function H=setup(expcode)
% load and setup
function H=init(expcode)
H=SCD.load(expcode);
H.setup;
H.init;
end
function H=init(expcode)
function H=prepforcompile(expcode)
H=SCD.load(expcode);
H.init;
H.setup;
end
function H=actualize(expcode,shot)
H = SCD.load(expcode);
function H.prepforsim(expcode,shot)
H=SCD.load(expcode);
H.init;
H.setup;
H.actualize(shot);
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment