Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
INMOST
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Terekhov
INMOST
Commits
d02be56a
Commit
d02be56a
authored
Mar 28, 2017
by
SilverLife
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://github.com/INMOST-DEV/INMOST
parents
b83e5125
64f65914
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
72 additions
and
18 deletions
+72
-18
.gitignore
.gitignore
+1
-1
Examples/MatSolve/database.txt
Examples/MatSolve/database.txt
+0
-8
Examples/MatSolve/database.xml
Examples/MatSolve/database.xml
+26
-0
Examples/Solver/database.txt
Examples/Solver/database.txt
+0
-6
Examples/Solver/database.xml
Examples/Solver/database.xml
+26
-0
Examples/Solver/inner_options.txt
Examples/Solver/inner_options.txt
+16
-0
Examples/Solver/main.cpp
Examples/Solver/main.cpp
+1
-1
Source/Solver/solver_fcbiilu2/SolverFCBIILU2.cpp
Source/Solver/solver_fcbiilu2/SolverFCBIILU2.cpp
+1
-1
Tests/solver_test000/main.cpp
Tests/solver_test000/main.cpp
+1
-1
No files found.
.gitignore
View file @
d02be56a
...
...
@@ -5,7 +5,7 @@ SyncToy*
*.iml
*.xml
.idea/
*.xml
Source/Solver/solver_fcbiilu2/fcbiilu2.cpp
...
...
Examples/MatSolve/database.txt
deleted
100644 → 0
View file @
b83e5125
PETSc: petsc_options.txt
Trilinos_Ifpack: trilinos_ifpack_options.xml
Trilinos_ML:
Trilinos_Aztec:
Trilinos_Belos:
FCBIILU2: ctrl_dat
K3BIILU2: ctrl_dat
inner_ilu2: inner_options.txt
Examples/MatSolve/database.xml
0 → 100644
View file @
d02be56a
<SolverParameters>
<inner_ilu2>
<test
file=
"inner_options.txt"
/>
</inner_ilu2>
<inner_ddpqiluc2>
<test
file=
"inner_options.txt"
/>
</inner_ddpqiluc2>
<inner_mptiluc>
<test
file=
"inner_options.txt"
/>
</inner_mptiluc>
<inner_mptilu2>
<test
file=
"inner_options.txt"
/>
</inner_mptilu2>
<fcbiilu2>
<test
file=
"ctrl_dat"
/>
</fcbiilu2>
<k3biilu2>
<test
file=
"ctrl_dat"
/>
</k3biilu2>
<petsc>
<test
file=
"petsc_options.txt"
/>
</petsc>
<trilinos_ifpack>
<test
file=
"trilinos_ifpack_options.xml"
/>
</trilinos_ifpack>
</SolverParameters>
\ No newline at end of file
Examples/Solver/database.txt
deleted
100644 → 0
View file @
b83e5125
PETSc: petsc_options.txt
Trilinos_Ifpack: trilinos_ifpack_options.xml
Trilinos_ML:
Trilinos_Aztec:
Trilinos_Belos:
Examples/Solver/database.xml
0 → 100644
View file @
d02be56a
<SolverParameters>
<inner_ilu2>
<test
file=
"inner_options.txt"
/>
</inner_ilu2>
<inner_ddpqiluc2>
<test
file=
"inner_options.txt"
/>
</inner_ddpqiluc2>
<inner_mptiluc>
<test
file=
"inner_options.txt"
/>
</inner_mptiluc>
<inner_mptilu2>
<test
file=
"inner_options.txt"
/>
</inner_mptilu2>
<fcbiilu2>
<test
file=
"ctrl_dat"
/>
</fcbiilu2>
<k3biilu2>
<test
file=
"ctrl_dat"
/>
</k3biilu2>
<petsc>
<test
file=
"petsc_options.txt"
/>
</petsc>
<trilinos_ifpack>
<test
file=
"trilinos_ifpack_options.xml"
/>
</trilinos_ifpack>
</SolverParameters>
\ No newline at end of file
Examples/Solver/inner_options.txt
0 → 100644
View file @
d02be56a
maximum_iterations 300
gmres_substeps 4
relative_tolerance 1.0e-5
absolute_tolerance 1.0e-10
divergence_tolerance 1e+200
reorder_nonzeros 0
rescale_iterations 8
adapt_ddpq_tolerance 0
drop_tolerance 3.0e-5
reuse_tolerance 1.0e-5
ddpq_tolerance 0.0
condition_estimation 1
schwartz_overlap 6
Examples/Solver/main.cpp
View file @
d02be56a
...
...
@@ -147,7 +147,7 @@ Storage::real tensor_K_mat_rotOxy(Storage::integer mat)
int
main
(
int
argc
,
char
**
argv
)
{
Mesh
::
Initialize
(
&
argc
,
&
argv
);
Solver
::
Initialize
(
&
argc
,
&
argv
,
"database.
txt
"
);
Solver
::
Initialize
(
&
argc
,
&
argv
,
"database.
xml
"
);
#if defined(USE_PARTITIONER)
Partitioner
::
Initialize
(
&
argc
,
&
argv
);
#endif
...
...
Source/Solver/solver_fcbiilu2/SolverFCBIILU2.cpp
View file @
d02be56a
...
...
@@ -50,7 +50,7 @@ namespace INMOST {
void
SolverFCBIILU2
::
Setup
(
int
*
argc
,
char
***
argv
,
SolverParameters
&
p
)
{
SolverInitDataFcbiilu2
(
&
solver_data
,
communicator
,
p
.
solverPrefix
.
c_str
());
solver_data
->
kovl
=
0
;
// number of overlap layers: kovl=0,1,2,...
solver_data
->
kovl
=
3
;
// number of overlap layers: kovl=0,1,2,...
solver_data
->
tau
=
3e-3
;
// the ILU2 precision (for the submatrix factorization); tau=3e-3
solver_data
->
eps
=
1e-5
;
// the residual precision: ||r|| < eps * ||b||; eps=1e-6
solver_data
->
nit
=
999
;
// number of iterations permitted; nit=999
...
...
Tests/solver_test000/main.cpp
View file @
d02be56a
...
...
@@ -11,7 +11,7 @@ int main(int argc,char ** argv)
std
::
string
solver
=
"inner_ilu2"
;
int
rank
,
procs
,
newrank
;
Solver
::
Initialize
(
&
argc
,
&
argv
,
"database.
txt
"
);
// Initialize the solver and MPI activity
Solver
::
Initialize
(
&
argc
,
&
argv
,
"database.
xml
"
);
// Initialize the solver and MPI activity
#if defined(USE_MPI)
MPI_Comm_rank
(
MPI_COMM_WORLD
,
&
rank
);
// Get the rank of the current process
MPI_Comm_size
(
MPI_COMM_WORLD
,
&
procs
);
// Get the total number of processors used
...
...
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