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
wenqing
ogs
Commits
6b03e9a2
Commit
6b03e9a2
authored
3 years ago
by
wenqing
Browse files
Options
Downloads
Patches
Plain Diff
Revert "[NumLib] Modified TestGradShapeFunction according to the change in computeMappingMatrices"
This reverts commit
f73976db
.
parent
03494a84
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
Tests/NumLib/TestGradShapeFunction.cpp
+5
-6
5 additions, 6 deletions
Tests/NumLib/TestGradShapeFunction.cpp
with
5 additions
and
6 deletions
Tests/NumLib/TestGradShapeFunction.cpp
+
5
−
6
View file @
6b03e9a2
...
...
@@ -53,12 +53,11 @@ template <class TestFeType_, template <typename, int> class ShapeMatrixPolicy_>
struct
TestCase
{
using
TestFeType
=
TestFeType_
;
static
const
int
GlobalDim
=
TestFeType
::
global_dim
;
using
ShapeMatrixTypes
=
ShapeMatrixPolicy_
<
typename
TestFeType
::
ShapeFunction
,
TestFeType
::
ShapeFunction
::
DIM
>
;
ShapeMatrixPolicy_
<
typename
TestFeType
::
ShapeFunction
,
GlobalDim
>
;
template
<
typename
X
>
using
ShapeMatrixPolicy
=
ShapeMatrixPolicy_
<
X
,
TestFeType
::
ShapeFunction
::
DIM
>
;
using
ShapeMatrixPolicy
=
ShapeMatrixPolicy_
<
X
,
GlobalDim
>
;
};
using
TestTypes
=
...
...
@@ -109,7 +108,7 @@ public:
using
ShapeMatrixPolicy
=
typename
T
::
template
ShapeMatrixPolicy
<
X
>;
using
MeshElementType
=
typename
TestFeType
::
MeshElementType
;
static
const
unsigned
dim
=
TestFeType
::
dim
;
static
const
int
dim
=
TestFeType
::
dim
;
static
const
unsigned
e_nnodes
=
TestFeType
::
e_nnodes
;
static
const
unsigned
n_sample_pt_order2
=
TestFeType
::
n_sample_pt_order2
;
static
const
unsigned
n_sample_pt_order3
=
TestFeType
::
n_sample_pt_order3
;
...
...
@@ -158,7 +157,7 @@ public:
};
// NumLibFemIsoTest
template
<
class
T
>
const
unsigned
GradShapeFunctionTest
<
T
>::
dim
;
const
int
GradShapeFunctionTest
<
T
>::
dim
;
template
<
class
T
>
const
unsigned
GradShapeFunctionTest
<
T
>::
e_nnodes
;
...
...
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