Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
dynamic
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
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
MostafaMollaali
dynamic
Commits
b9f039c8
Commit
b9f039c8
authored
7 years ago
by
Christoph Lehmann
Browse files
Options
Downloads
Patches
Plain Diff
[PL] n_integration_points, formatting, year fixed
parent
76b0ffad
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
ProcessLib/GroundwaterFlow/GroundwaterFlowFEM.h
+4
-4
4 additions, 4 deletions
ProcessLib/GroundwaterFlow/GroundwaterFlowFEM.h
ProcessLib/HT/HTFEM.h
+3
-5
3 additions, 5 deletions
ProcessLib/HT/HTFEM.h
ProcessLib/ProcessOutput.h
+1
-1
1 addition, 1 deletion
ProcessLib/ProcessOutput.h
with
8 additions
and
10 deletions
ProcessLib/GroundwaterFlow/GroundwaterFlowFEM.h
+
4
−
4
View file @
b9f039c8
...
...
@@ -155,8 +155,8 @@ public:
NumLib
::
LocalToGlobalIndexMap
const
&
dof_table
,
std
::
vector
<
double
>&
cache
)
const
override
{
//
auto const n
um_nodes = ShapeFunction_::NPOINTS;
auto
const
num_intpts
=
_shape_matrices
.
size
();
auto
const
n
_integration_points
=
_integration_method
.
getNumberOfPoints
();
auto
const
indices
=
NumLib
::
getIndices
(
_element
.
getID
(),
dof_table
);
assert
(
!
indices
.
empty
());
...
...
@@ -168,12 +168,12 @@ public:
cache
.
clear
();
auto
cache_mat
=
MathLib
::
createZeroedMatrix
<
Eigen
::
Matrix
<
double
,
GlobalDim
,
Eigen
::
Dynamic
,
Eigen
::
RowMajor
>>
(
cache
,
GlobalDim
,
n
um
_int
p
ts
);
cache
,
GlobalDim
,
n_int
egration_poin
ts
);
SpatialPosition
pos
;
pos
.
setElementID
(
_element
.
getID
());
for
(
unsigned
i
=
0
;
i
<
n
um
_int
p
ts
;
++
i
)
for
(
unsigned
i
=
0
;
i
<
n_int
egration_poin
ts
;
++
i
)
{
pos
.
setIntegrationPoint
(
i
);
auto
const
k
=
_process_data
.
hydraulic_conductivity
(
t
,
pos
)[
0
];
...
...
This diff is collapsed.
Click to expand it.
ProcessLib/HT/HTFEM.h
+
3
−
5
View file @
b9f039c8
...
...
@@ -273,7 +273,8 @@ public:
NumLib
::
LocalToGlobalIndexMap
const
&
dof_table
,
std
::
vector
<
double
>&
cache
)
const
override
{
auto
const
num_intpts
=
_ip_data
.
size
();
auto
const
n_integration_points
=
_integration_method
.
getNumberOfPoints
();
auto
const
indices
=
NumLib
::
getIndices
(
_element
.
getID
(),
dof_table
);
assert
(
!
indices
.
empty
());
...
...
@@ -282,16 +283,13 @@ public:
cache
.
clear
();
auto
cache_mat
=
MathLib
::
createZeroedMatrix
<
Eigen
::
Matrix
<
double
,
GlobalDim
,
Eigen
::
Dynamic
,
Eigen
::
RowMajor
>>
(
cache
,
GlobalDim
,
n
um
_int
p
ts
);
cache
,
GlobalDim
,
n_int
egration_poin
ts
);
SpatialPosition
pos
;
pos
.
setElementID
(
_element
.
getID
());
MaterialLib
::
Fluid
::
FluidProperty
::
ArrayType
vars
;
unsigned
const
n_integration_points
=
_integration_method
.
getNumberOfPoints
();
auto
const
p_nodal_values
=
Eigen
::
Map
<
const
NodalVectorType
>
(
&
local_x
[
ShapeFunction
::
NPOINTS
],
ShapeFunction
::
NPOINTS
);
...
...
This diff is collapsed.
Click to expand it.
ProcessLib/ProcessOutput.h
+
1
−
1
View file @
b9f039c8
/**
* \copyright
* Copyright (c) 2012-201
6
, OpenGeoSys Community (http://www.opengeosys.org)
* Copyright (c) 2012-201
7
, OpenGeoSys Community (http://www.opengeosys.org)
* Distributed under a Modified BSD License.
* See accompanying file LICENSE.txt or
* http://www.opengeosys.org/project/license
...
...
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