Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
ogs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
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
Dmitri Naumov
ogs
Commits
9f6062ce
Commit
9f6062ce
authored
6 years ago
by
Tom Fischer
Browse files
Options
Downloads
Patches
Plain Diff
[PL] Rename dof_table to dof_table_bulk.
parent
1c062753
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
ProcessLib/SourceTerms/CreateSourceTerm.cpp
+9
-9
9 additions, 9 deletions
ProcessLib/SourceTerms/CreateSourceTerm.cpp
with
9 additions
and
9 deletions
ProcessLib/SourceTerms/CreateSourceTerm.cpp
+
9
−
9
View file @
9f6062ce
...
@@ -21,9 +21,9 @@ namespace ProcessLib
...
@@ -21,9 +21,9 @@ namespace ProcessLib
{
{
std
::
unique_ptr
<
SourceTerm
>
createSourceTerm
(
std
::
unique_ptr
<
SourceTerm
>
createSourceTerm
(
const
SourceTermConfig
&
config
,
const
SourceTermConfig
&
config
,
const
NumLib
::
LocalToGlobalIndexMap
&
dof_table
,
const
MeshLib
::
Mesh
&
mesh
,
const
NumLib
::
LocalToGlobalIndexMap
&
dof_table
_bulk
,
const
int
variable_id
,
const
unsigned
integration_order
,
const
MeshLib
::
Mesh
&
mesh
,
const
int
variable_id
,
const
unsigned
shapefunction_order
,
const
unsigned
integration_order
,
const
unsigned
shapefunction_order
,
std
::
vector
<
std
::
unique_ptr
<
ProcessLib
::
ParameterBase
>>
const
&
parameters
)
std
::
vector
<
std
::
unique_ptr
<
ProcessLib
::
ParameterBase
>>
const
&
parameters
)
{
{
//! \ogs_file_param{prj__process_variables__process_variable__source_terms__source_term__type}
//! \ogs_file_param{prj__process_variables__process_variable__source_terms__source_term__type}
...
@@ -32,14 +32,14 @@ std::unique_ptr<SourceTerm> createSourceTerm(
...
@@ -32,14 +32,14 @@ std::unique_ptr<SourceTerm> createSourceTerm(
if
(
type
==
"Nodal"
)
if
(
type
==
"Nodal"
)
{
{
return
ProcessLib
::
createNodalSourceTerm
(
return
ProcessLib
::
createNodalSourceTerm
(
config
.
config
,
config
.
mesh
,
dof_table
,
mesh
.
getID
(),
variable_id
,
config
.
config
,
config
.
mesh
,
dof_table
_bulk
,
mesh
.
getID
(),
*
config
.
component_id
,
parameters
);
variable_id
,
*
config
.
component_id
,
parameters
);
}
}
if
(
type
==
"Volumetric"
)
if
(
type
==
"Volumetric"
)
{
{
return
ProcessLib
::
createVolumetricSourceTerm
(
return
ProcessLib
::
createVolumetricSourceTerm
(
config
.
config
,
config
.
mesh
,
dof_table
,
parameters
,
config
.
config
,
config
.
mesh
,
dof_table
_bulk
,
parameters
,
integration_order
,
shapefunction_order
,
variable_id
,
integration_order
,
shapefunction_order
,
variable_id
,
*
config
.
component_id
);
*
config
.
component_id
);
}
}
...
@@ -48,9 +48,9 @@ std::unique_ptr<SourceTerm> createSourceTerm(
...
@@ -48,9 +48,9 @@ std::unique_ptr<SourceTerm> createSourceTerm(
{
{
#ifdef OGS_USE_PYTHON
#ifdef OGS_USE_PYTHON
return
ProcessLib
::
createPythonSourceTerm
(
return
ProcessLib
::
createPythonSourceTerm
(
config
.
config
,
config
.
mesh
,
dof_table
,
mesh
.
getID
(),
variable_id
,
config
.
config
,
config
.
mesh
,
dof_table
_bulk
,
mesh
.
getID
(),
*
config
.
component_id
,
integration_order
,
shapefunction_order
,
variable_id
,
*
config
.
component_id
,
integration_order
,
mesh
.
getDimension
());
shapefunction_order
,
mesh
.
getDimension
());
#else
#else
OGS_FATAL
(
"OpenGeoSys has not been built with Python support."
);
OGS_FATAL
(
"OpenGeoSys has not been built with Python support."
);
#endif
#endif
...
...
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