Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Nektar
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Analyze
Contributor analytics
CI/CD analytics
Repository 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
Chris Cantwell
Nektar
Commits
bb53fef1
Commit
bb53fef1
authored
2 years ago
by
Chris Cantwell
Browse files
Options
Downloads
Patches
Plain Diff
Fix compile error.
parent
93eeb23d
No related branches found
Branches containing commit
Tags
ukaea/high-dim/d2
Tags containing commit
No related merge requests found
Pipeline
#3814
canceled
2 years ago
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
library/Demos/TensorRegions/CMakeLists.txt
+3
-3
3 additions, 3 deletions
library/Demos/TensorRegions/CMakeLists.txt
library/Demos/TensorRegions/Project.cpp
+4
-3
4 additions, 3 deletions
library/Demos/TensorRegions/Project.cpp
with
7 additions
and
6 deletions
library/Demos/TensorRegions/CMakeLists.txt
+
3
−
3
View file @
bb53fef1
...
...
@@ -3,7 +3,7 @@ ADD_NEKTAR_EXECUTABLE(TensorBwdTrans
ADD_NEKTAR_EXECUTABLE
(
TensorIProductWRTBase
COMPONENT demos DEPENDS TensorRegions SOURCES IProductWRTBase.cpp
)
ADD_NEKTAR_EXECUTABLE
(
Tensor
Domain
COMPONENT demos DEPENDS TensorRegions SOURCES
Domain
.cpp
)
ADD_NEKTAR_EXECUTABLE
(
Tensor
Project
COMPONENT demos DEPENDS TensorRegions SOURCES
Project
.cpp
)
ADD_NEKTAR_TEST
(
BwdTransM0
)
\ No newline at end of file
ADD_NEKTAR_TEST
(
BwdTransM0
)
This diff is collapsed.
Click to expand it.
library/Demos/TensorRegions/Project.cpp
+
4
−
3
View file @
bb53fef1
...
...
@@ -88,9 +88,10 @@ int main(int argc, char *argv[])
cout
<<
endl
;
}
//TensorRegions::TensorRegionStorage diff = *str - *stp;
TensorRegions
::
TensorRegionStorageSharedPtr
diff
=
tr
.
AllocateStorage
(
TensorRegions
::
TensorRegionStorage
::
ePhys
);
*
diff
=
*
str
-
*
stp
;
cout
<<
tr
.
Integral
(
*
stp
)
<<
endl
;
cout
<<
tr
.
Integral
(
*
str
)
<<
endl
;
//
cout << tr.Integral(diff) << endl;
cout
<<
tr
.
Integral
(
*
diff
)
<<
endl
;
return
0
;
}
\ No newline at end of file
}
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