![]() |
Millepede-II V04-13-05
|
Skyline storage. More...
Go to the source code of this file.
Modules | |
module | mpskyl |
QL data. | |
Functions/Subroutines | |
subroutine | mpslan (n, lrows, npgrp, nsparr) |
Analyse skyline stucture. More... | |
subroutine | mpslsp (npgrp, nsparr, nsparc) |
Analyse skyline stucture. More... | |
subroutine | mpsldc (npgrp, nsparr, nsparc, gmat, nsize, nrank, mon) |
Cholesky decomposition. More... | |
subroutine | mpslsv (gij, gvec, nfit) |
Backward, forward substitution. More... | |
subroutine | mpslsv2 (npgrp, nsparr, nsparc, gmat, gvec, nsize) |
Backward, forward substitution. More... | |
Variables | |
integer(mpi) | mpskyl::npar |
number of parameters More... | |
integer(mpi), dimension(:), allocatable | mpskyl::lastrowincol |
last (non-zero) row in column More... | |
integer(mpi), dimension(:), allocatable | mpskyl::pargroupstoregions |
mapping of parameter groups to regions (in row) More... | |
integer(mpi), dimension(:), allocatable | mpskyl::regionoffsets |
offsets for parameter group regions (in row) More... | |
integer(mpi) | mpskyl::nthrd |
number of threads More... | |
Skyline storage.
Sparse storage for (column based) skyline matrix with Cholesky decomposition.
Definition in file mpskyl.f90.
subroutine mpslan | ( | integer(mpi), intent(in) | n, |
integer(mpi), dimension(:), intent(in) | lrows, | ||
integer(mpi), dimension(:), intent(in) | npgrp, | ||
integer(mpl), dimension(:,:), intent(out) | nsparr | ||
) |
Analyse skyline stucture.
[in] | n | number of rows (parameters) |
[in] | lrows | last row in columns |
[in] | npgrp | parameter groups |
[out] | nsparr | row offsets |
Definition at line 45 of file mpskyl.f90.
References mpskyl::lastrowincol, mpskyl::npar, mpskyl::nthrd, mpskyl::pargroupstoregions, and mpskyl::regionoffsets.
subroutine mpsldc | ( | integer(mpi), dimension(:), intent(in) | npgrp, |
integer(mpl), dimension(:,:), intent(in) | nsparr, | ||
integer(mpi), dimension(:), intent(in) | nsparc, | ||
real(mpd), dimension(:), intent(inout) | gmat, | ||
integer(mpi), intent(in) | nsize, | ||
integer(mpi), intent(out) | nrank, | ||
integer(mpi), intent(in) | mon | ||
) |
Cholesky decomposition.
[in] | npgrp | parameter groups |
[in] | nsparr | row offsets |
[in] | nsparc | column offsets |
[in,out] | gmat | (skyline) matrix, replaced by decomposition |
[in] | nsize | size of matrix |
[out] | nrank | rank of matrix |
[in] | mon | monitoring flag |
Definition at line 187 of file mpskyl.f90.
References monpgs(), mpskyl::npar, mpskyl::pargroupstoregions, and mpskyl::regionoffsets.
subroutine mpslsp | ( | integer(mpi), dimension(:), intent(in) | npgrp, |
integer(mpl), dimension(:,:), intent(in) | nsparr, | ||
integer(mpi), dimension(:), intent(out) | nsparc | ||
) |
Analyse skyline stucture.
[in] | npgrp | parameter groups |
[in] | nsparr | row offsets |
[out] | nsparv | column offsets |
Definition at line 120 of file mpskyl.f90.
References mpskyl::lastrowincol, mpskyl::npar, and mpskyl::nthrd.
subroutine mpslsv | ( | real(mpd) | gij, |
real(mpd), dimension(:), intent(inout) | gvec, | ||
integer(mpi), intent(in) | nfit | ||
) |
Backward, forward substitution.
[in] | gij | external procedure access global matrix element (i,j) |
[in,out] | gvec | r.h.s, replaced by solution |
[in] | nfit | number of parameters |
Definition at line 390 of file mpskyl.f90.
subroutine mpslsv2 | ( | integer(mpi), dimension(:), intent(in) | npgrp, |
integer(mpl), dimension(:,:), intent(in) | nsparr, | ||
integer(mpi), dimension(:), intent(in) | nsparc, | ||
real(mpd), dimension(:), intent(in) | gmat, | ||
real(mpd), dimension(:), intent(inout) | gvec, | ||
integer(mpi), intent(in) | nsize | ||
) |
Backward, forward substitution.
[in] | npgrp | parameter groups |
[in] | nsparr | row offsets |
[in] | nsparc | column offsets |
[in] | gmat | (skyline) matrix, replaced by decomposition |
[in,out] | gvec | r.h.s, replaced by solution |
[in] | nsize | size of matrix |
Definition at line 437 of file mpskyl.f90.
References mpskyl::npar, mpskyl::pargroupstoregions, and mpskyl::regionoffsets.