Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
O
openfpm_numerics
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
openfpm
openfpm_numerics
Commits
961ac979
Commit
961ac979
authored
Dec 22, 2018
by
incardon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Numerics tuned for GPU version
parent
33821d70
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
6 deletions
+8
-6
src/CMakeLists.txt
src/CMakeLists.txt
+4
-2
src/Solvers/petsc_solver_AMG_report.hpp
src/Solvers/petsc_solver_AMG_report.hpp
+4
-4
No files found.
src/CMakeLists.txt
View file @
961ac979
...
...
@@ -61,9 +61,11 @@ install(FILES Vector/Vector_eigen.hpp
Vector/Vector_petsc.hpp
Vector/Vector_util.hpp
Vector/Vector.hpp
DESTINATION openfpm_numerics/Vector
)
DESTINATION openfpm_numerics/
include/
Vector
)
install
(
FILES Solvers/umfpack_solver.hpp Solvers/petsc_solver.hpp
install
(
FILES Solvers/umfpack_solver.hpp
Solvers/petsc_solver.hpp
Solvers/petsc_solver_AMG_report.hpp
DESTINATION openfpm_numerics/include/Solvers
)
install
(
FILES util/petsc_util.hpp
...
...
src/Solvers/petsc_solver_AMG_report.hpp
View file @
961ac979
...
...
@@ -98,7 +98,7 @@ class petsc_AMG_report
double
time1
=
tm_solve
.
getwct
();
double
time2
=
tm_solve2
.
getwct
();
Vcluster
&
v_cl
=
create_vcluster
();
Vcluster
<>
&
v_cl
=
create_vcluster
();
v_cl
.
max
(
time1
);
v_cl
.
max
(
time2
);
v_cl
.
execute
();
...
...
@@ -123,7 +123,7 @@ class petsc_AMG_report
*/
void
test_coarsener
(
SparseMatrix
<
double
,
int
,
PETSC_BASE
>
&
A
,
const
Vector
<
double
,
PETSC_BASE
>
&
b
)
{
Vcluster
&
v_cl
=
create_vcluster
();
Vcluster
<>
&
v_cl
=
create_vcluster
();
petsc_solver
<
double
>
pts
;
...
...
@@ -351,7 +351,7 @@ class petsc_AMG_report
const
Vector
<
double
,
PETSC_BASE
>
&
b
,
openfpm
::
vector
<
std
::
string
>
&
coarsener_to_test
)
{
Vcluster
&
v_cl
=
create_vcluster
();
Vcluster
<>
&
v_cl
=
create_vcluster
();
petsc_solver
<
double
>
pts
;
...
...
@@ -406,7 +406,7 @@ class petsc_AMG_report
openfpm
::
vector
<
size_t
>
&
ids_ts
,
openfpm
::
vector
<
std
::
string
>
&
coarsener_to_test
)
{
Vcluster
&
v_cl
=
create_vcluster
();
Vcluster
<>
&
v_cl
=
create_vcluster
();
petsc_solver
<
double
>
pts
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment