Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
r2ogs6
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
Service Desk
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ogs
OpenGeoSys Tools
r2ogs6
Commits
24dbd681
Commit
24dbd681
authored
1 year ago
by
Johannes Boog
Browse files
Options
Downloads
Patches
Plain Diff
[bugfix] read tag time_loop output meshes
parent
81fc44f0
No related branches found
No related tags found
1 merge request
!60
Resolve "[feature] include new keywords by OGS v6.4.4"
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
R/prj_time_loop.R
+2
-9
2 additions, 9 deletions
R/prj_time_loop.R
with
2 additions
and
9 deletions
R/prj_time_loop.R
+
2
−
9
View file @
24dbd681
...
...
@@ -139,7 +139,7 @@ new_prj_tl_process <- function(ref,
#' Either "true" or "false"
#' @param data_mode Optional: string:
#' @param output_iteration_results Optional: string: Either "true" or "false"
#' @param meshes Optional:
character: A vector
of mesh
nam
es
#' @param meshes Optional:
list: A list
of meshes
#' @param fixed_output_times Optional: string | numeric:
#' @param hdf Optional: numeric
#' @param geometrical_sets Optional: list, prj_geometrical_set
...
...
@@ -161,10 +161,6 @@ prj_output <- function(type,
#Coerce input
fixed_output_times
<-
coerce_string_to_numeric
(
fixed_output_times
)
if
(
is.list
(
meshes
)){
meshes
<-
unlist
(
meshes
)
}
new_prj_output
(
type
,
prefix
,
variables
,
...
...
@@ -208,10 +204,7 @@ new_prj_output <- function(type,
are_null_or_string_flags
(
compress_output
)
if
(
!
is.null
(
meshes
)){
assertthat
::
assert_that
(
is.character
(
meshes
))
names
(
meshes
)
<-
rep
(
"mesh"
,
length
(
meshes
))
}
is_null_or_wrapper_list
(
meshes
,
"character"
)
are_null_or_numeric
(
fixed_output_times
)
...
...
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