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
725d2716
Commit
725d2716
authored
2 years ago
by
Johannes Boog
Browse files
Options
Downloads
Patches
Plain Diff
[base] add new tags to class prj_source term
add source_term_object add flush_stout
parent
63f171bf
No related branches found
No related tags found
1 merge request
!55
[base] update package to OGS6.4.2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
R/prj_process_variable.R
+11
-6
11 additions, 6 deletions
R/prj_process_variable.R
with
11 additions
and
6 deletions
R/prj_process_variable.R
+
11
−
6
View file @
725d2716
...
@@ -285,6 +285,7 @@ new_prj_boundary_condition <- function(type,
...
@@ -285,6 +285,7 @@ new_prj_boundary_condition <- function(type,
#' @param geometry Optional: string:
#' @param geometry Optional: string:
#' @param mesh Optional: string:
#' @param mesh Optional: string:
#' @param source_term_object Optional: string:
#' @param source_term_object Optional: string:
#' @param flush_stdout Optional: string:
#' @example man/examples/ex_prj_source_term.R
#' @example man/examples/ex_prj_source_term.R
#' @export
#' @export
prj_source_term
<-
function
(
type
,
prj_source_term
<-
function
(
type
,
...
@@ -292,7 +293,8 @@ prj_source_term <- function(type,
...
@@ -292,7 +293,8 @@ prj_source_term <- function(type,
geometrical_set
=
NULL
,
geometrical_set
=
NULL
,
geometry
=
NULL
,
geometry
=
NULL
,
mesh
=
NULL
,
mesh
=
NULL
,
source_term_object
=
NULL
){
source_term_object
=
NULL
,
flush_stdout
=
NULL
){
#Coerce input
#Coerce input
...
@@ -301,7 +303,8 @@ prj_source_term <- function(type,
...
@@ -301,7 +303,8 @@ prj_source_term <- function(type,
geometrical_set
,
geometrical_set
,
geometry
,
geometry
,
mesh
,
mesh
,
source_term_object
)
source_term_object
,
flush_stdout
)
}
}
...
@@ -310,7 +313,8 @@ new_prj_source_term <- function(type,
...
@@ -310,7 +313,8 @@ new_prj_source_term <- function(type,
geometrical_set
=
NULL
,
geometrical_set
=
NULL
,
geometry
=
NULL
,
geometry
=
NULL
,
mesh
=
NULL
,
mesh
=
NULL
,
source_term_object
=
NULL
){
source_term_object
=
NULL
,
flush_stdout
=
NULL
){
assertthat
::
assert_that
(
assertthat
::
is.string
(
type
))
assertthat
::
assert_that
(
assertthat
::
is.string
(
type
))
...
@@ -318,7 +322,8 @@ new_prj_source_term <- function(type,
...
@@ -318,7 +322,8 @@ new_prj_source_term <- function(type,
geometrical_set
,
geometrical_set
,
geometry
,
geometry
,
mesh
,
mesh
,
source_term_object
)
source_term_object
,
flush_stdout
)
structure
(
list
(
type
=
type
,
structure
(
list
(
type
=
type
,
parameter
=
parameter
,
parameter
=
parameter
,
...
@@ -326,11 +331,11 @@ new_prj_source_term <- function(type,
...
@@ -326,11 +331,11 @@ new_prj_source_term <- function(type,
geometry
=
geometry
,
geometry
=
geometry
,
mesh
=
mesh
,
mesh
=
mesh
,
source_term_object
=
source_term_object
,
source_term_object
=
source_term_object
,
flush_stdout
=
flush_stdout
,
xpath
=
paste0
(
"process_variables/process_variable/"
,
xpath
=
paste0
(
"process_variables/process_variable/"
,
"source_terms/source_term"
),
"source_terms/source_term"
),
attr_names
=
character
(),
attr_names
=
character
(),
flatten_on_exp
=
character
()
flatten_on_exp
=
character
()),
),
class
=
"prj_source_term"
class
=
"prj_source_term"
)
)
}
}
...
...
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