Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
SCDDS-core
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SPC
SCDDS
SCDDS-core
Commits
91a675c8
Commit
91a675c8
authored
4 years ago
by
Cristian Galperti
Browse files
Options
Downloads
Patches
Plain Diff
line selector for G7,9,10,11 in the aval block added
parent
31f1f3c6
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
code/classes/SCDclass_mdsparvectorint.m
+40
-0
40 additions, 0 deletions
code/classes/SCDclass_mdsparvectorint.m
with
40 additions
and
0 deletions
code/classes/SCDclass_mdsparvectorint.m
0 → 100644
+
40
−
0
View file @
91a675c8
classdef
SCDclass_mdsparvectorint
<
SCDclass_mdspar
% A constant 1D vector integer (int32) MDS+ parameter
properties
end
methods
function
obj
=
SCDclass_mdsparvectorint
(
srctdimodel
,
destparam
,
varargin
)
obj
@
SCDclass_mdspar
();
% Constructor parser customization definitions here
obj
=
obj
.
parseconstructorcommon
(
srctdimodel
,
destparam
,
varargin
);
% Constructor parser customization results here
obj
.
classname
=
mfilename
;
obj
.
marteclassname
=
'MDSParVectorInt'
;
end
function
actualizedata
(
obj
,
shot
)
obj
=
obj
.
preactualizecommon
(
shot
);
if
~
obj
.
actualizable
,
return
;
end
obj
.
caststring
=
sprintf
(
'%s=int32(%s);'
,
obj
.
assignvar
,
obj
.
assignvar
);
obj
.
postactualizecommon
(
shot
);
end
function
[
obj
,
value
]
=
getdata
(
obj
,
shot
)
[
obj
,
value
]
=
obj
.
getdatacommon
(
shot
);
value
=
single
(
value
);
end
function
printinfo
(
obj
)
obj
.
printinfocommon
;
end
function
entrystring
=
genMARTe2entry
(
obj
,
shot
)
entrystring
=
[
obj
.
genMARTe2entrycommon
(
shot
)
' }'
];
end
end
end
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment