***
Wartungsfenster jeden ersten Mittwoch vormittag im Monat
***
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
MooAFEM
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ASC
Praetorius
MooAFEM
Commits
68b4d5fb
Commit
68b4d5fb
authored
1 year ago
by
Innerberger, Michael
Browse files
Options
Downloads
Patches
Plain Diff
Clarify some documentation
parent
0656d9f2
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/storage/@LevelData/LevelData.m
+32
-14
32 additions, 14 deletions
lib/storage/@LevelData/LevelData.m
with
32 additions
and
14 deletions
lib/storage/@LevelData/LevelData.m
+
32
−
14
View file @
68b4d5fb
...
...
@@ -228,27 +228,45 @@ classdef LevelData < handle
data
=
get
(
obj
,
jLevel
,
variableName
)
%% MODIFY LEVEL DATA
set
(
obj
,
jLevel
,
var
argin
)
setTime
(
obj
,
jLevel
,
var
argin
)
setAbsolute
(
obj
,
jLevel
,
var
argin
)
set
(
obj
,
jLevel
,
var
iableName
,
value
)
setTime
(
obj
,
jLevel
,
var
iableName
,
value
)
setAbsolute
(
obj
,
jLevel
,
var
iableName
,
value
)
function
append
(
obj
,
varargin
)
%%APPEND simplified addition of specified data for the
%subsequent level, the
cell array varargin must contain
%subsequent level, the
arguments must be specified as
%pairs of variable names and data (numeric or string /
%characters)
% APPEND(obj, varargin)
assert
(
mod
(
length
(
varargin
),
2
)
==
0
,
...
% APPEND(obj, variableName, value, ...)
arguments
obj
end
arguments
(
Repeating
)
varargin
end
assert
(
mod
(
length
(
varargin
),
2
)
==
0
,
...
'Invalid number of arguments'
);
nlvl
=
obj
.
nLevel
+
1
;
obj
.
set
(
nlvl
,
varargin
{:});
end
function
remove
(
obj
,
var
argin
)
function
remove
(
obj
,
var
iableName
)
%%REMOVE removes the specified list of variables
% REMOVE(obj, varargin)
obj
.
level
=
rmfield
(
obj
.
level
,
varargin
{:});
obj
.
type
=
rmfield
(
obj
.
type
,
varargin
{:});
% REMOVE(obj, variableName, ...)
arguments
obj
end
arguments
(
Repeating
)
variableName
end
obj
.
level
=
rmfield
(
obj
.
level
,
variableName
{:});
obj
.
type
=
rmfield
(
obj
.
type
,
variableName
{:});
end
function
removeLevel
(
obj
,
jLevel
)
...
...
@@ -271,15 +289,15 @@ classdef LevelData < handle
%% OUTPUT LEVEL DATA
printHeader
(
obj
)
printLevel
(
obj
,
jLevel
)
ax
=
plot
(
obj
,
xVariable
,
varargin
)
ax
=
plotTime
(
obj
,
xVariable
,
varargin
)
ax
=
plotAbsolute
(
obj
,
xVariable
,
varargin
)
ax
=
plot
(
obj
,
xVariable
,
yVariable
)
ax
=
plotTime
(
obj
,
xVariable
,
yVariable
)
ax
=
plotAbsolute
(
obj
,
xVariable
,
yVariable
)
ax
=
plotTriangulation
(
obj
,
jLevel
)
%% EXPORT LEVEL DATA
saveToFile
(
obj
,
folder
,
file
)
saveToTable
(
obj
,
separator
)
plotToFile
(
obj
,
xVariable
,
varargin
)
plotToFile
(
obj
,
xVariable
,
yVariable
)
plotTriangulationToFile
(
obj
,
jLevel
)
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