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
ca8ac88e
Commit
ca8ac88e
authored
3 years ago
by
renchao.lu
Browse files
Options
Downloads
Patches
Plain Diff
[PL/Stokes] add integration point data.
parent
fc990034
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/StokesFlow/IntegrationPointData.h
+60
-0
60 additions, 0 deletions
ProcessLib/StokesFlow/IntegrationPointData.h
with
60 additions
and
0 deletions
ProcessLib/StokesFlow/IntegrationPointData.h
0 → 100644
+
60
−
0
View file @
ca8ac88e
/**
* \file
* \copyright
* Copyright (c) 2012-2021, OpenGeoSys Community (http://www.opengeosys.org)
* Distributed under a Modified BSD License.
* See accompanying file LICENSE.txt or
* http://www.opengeosys.org/project/license
*
*/
#pragma once
namespace
ProcessLib
::
StokesFlow
{
template
<
typename
ShapeMatrixTypeLiquidVelocity
,
typename
ShapeMatrixTypePressure
,
int
GlobalDim
,
int
NPoints
>
struct
IntegrationPointData
final
{
using
NodalRowVectorTypeLiquidVelocity
=
typename
ShapeMatrixTypeLiquidVelocity
::
NodalRowVectorType
;
using
GlobalDimNodalMatrixTypeLiquidVelocity
=
typename
ShapeMatrixTypeLiquidVelocity
::
GlobalDimNodalMatrixType
;
using
NodalRowVectorTypePressure
=
typename
ShapeMatrixTypePressure
::
NodalRowVectorType
;
using
GlobalDimNodalMatrixTypePressure
=
typename
ShapeMatrixTypePressure
::
GlobalDimNodalMatrixType
;
IntegrationPointData
(
NodalRowVectorTypeLiquidVelocity
const
&
N_v_
,
GlobalDimNodalMatrixTypeLiquidVelocity
const
&
dNdx_v_
,
NodalRowVectorTypePressure
const
&
N_p_
,
GlobalDimNodalMatrixTypePressure
const
&
dNdx_p_
,
double
const
&
integration_weight_
)
:
N_v
(
N_v_
),
dNdx_v
(
dNdx_v_
),
N_p
(
N_p_
),
dNdx_p
(
dNdx_p_
),
integration_weight
(
integration_weight_
)
{
}
NodalRowVectorTypeLiquidVelocity
const
N_v
;
GlobalDimNodalMatrixTypeLiquidVelocity
const
dNdx_v
;
typename
ShapeMatrixTypeLiquidVelocity
::
template
MatrixType
<
GlobalDim
,
NPoints
*
GlobalDim
>
N_v_op
;
typename
ShapeMatrixTypeLiquidVelocity
::
template
MatrixType
<
GlobalDim
*
GlobalDim
,
NPoints
*
GlobalDim
>
dNdx_v_op
;
NodalRowVectorTypePressure
const
N_p
;
GlobalDimNodalMatrixTypePressure
const
dNdx_p
;
double
const
integration_weight
;
EIGEN_MAKE_ALIGNED_OPERATOR_NEW
;
};
}
// namespace ProcessLib::StokesFlow
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