![]() |
FrontISTR
5.7.0
Large-scale structural analysis program with finit element method
|
This module provides bucket-search functionality It provides definition of bucket info and its access routines. More...
Functions/Subroutines | |
subroutine, public | bucketdb_init (bktdb) |
Initializer. More... | |
subroutine, public | bucketdb_finalize (bktdb) |
Finalizer. More... | |
subroutine, public | bucketdb_setup (bktdb, x_min, x_max, dmin, n_tot) |
Setup basic info of buckets. More... | |
integer(kind=kint) function, public | bucketdb_getbucketid (bktdb, x) |
Get bucket ID that includes given point. More... | |
subroutine, public | bucketdb_registerpre (bktdb, bid) |
Pre-register for just counting members to be actually registered Bucket ID has to be obtained with bucketDB_getBucketID. More... | |
subroutine, public | bucketdb_allocate (bktdb) |
Allocate memory before actually registering members Before allocating memory, bucketDB_registerPre has to be called for all members to be registered. More... | |
subroutine, public | bucketdb_register (bktdb, bid, sid) |
Register member Before actually register, bucketDB_allocate has to be called. More... | |
integer(kind=kint) function, public | bucketdb_getnumcand (bktdb, bid) |
Get number of candidates within neighboring buckets of a given bucket Bucket ID has to be obtained with bucketDB_getBucketID. More... | |
subroutine, public | bucketdb_getcand (bktdb, bid, ncand, cand) |
Get candidates within neighboring buckets of a given bucket Number of candidates has to be obtained with bucketDB_getNumCand beforehand. More... | |
This module provides bucket-search functionality It provides definition of bucket info and its access routines.
subroutine, public bucket_search::bucketdb_allocate | ( | type(bucketdb), intent(inout) | bktdb | ) |
Allocate memory before actually registering members Before allocating memory, bucketDB_registerPre has to be called for all members to be registered.
[in,out] | bktdb | bucket info |
Definition at line 278 of file bucket_search.f90.
subroutine, public bucket_search::bucketdb_finalize | ( | type(bucketdb), intent(inout) | bktdb | ) |
Finalizer.
[in,out] | bktdb | bucket info |
Definition at line 151 of file bucket_search.f90.
integer(kind=kint) function, public bucket_search::bucketdb_getbucketid | ( | type(bucketdb), intent(in) | bktdb, |
real(kind=kreal), dimension(3), intent(in) | x | ||
) |
Get bucket ID that includes given point.
[in] | bktdb | bucket info |
[in] | x | coordinate of point |
Definition at line 244 of file bucket_search.f90.
subroutine, public bucket_search::bucketdb_getcand | ( | type(bucketdb), intent(in) | bktdb, |
integer(kind=kint), intent(in) | bid, | ||
integer(kind=kint), intent(in) | ncand, | ||
integer(kind=kint), dimension(ncand), intent(out), target | cand | ||
) |
Get candidates within neighboring buckets of a given bucket Number of candidates has to be obtained with bucketDB_getNumCand beforehand.
[in] | bktdb | bucket info |
[in] | bid | bucket ID |
[in] | ncand | number of candidates |
[out] | cand | array to store candidates |
Definition at line 344 of file bucket_search.f90.
integer(kind=kint) function, public bucket_search::bucketdb_getnumcand | ( | type(bucketdb), intent(in) | bktdb, |
integer(kind=kint), intent(in) | bid | ||
) |
Get number of candidates within neighboring buckets of a given bucket Bucket ID has to be obtained with bucketDB_getBucketID.
[in] | bktdb | bucket info |
[in] | bid | bucket ID |
Definition at line 313 of file bucket_search.f90.
subroutine, public bucket_search::bucketdb_init | ( | type(bucketdb), intent(inout) | bktdb | ) |
Initializer.
[in,out] | bktdb | bucket info |
Definition at line 138 of file bucket_search.f90.
subroutine, public bucket_search::bucketdb_register | ( | type(bucketdb), intent(inout) | bktdb, |
integer(kind=kint), intent(in) | bid, | ||
integer(kind=kint), intent(in) | sid | ||
) |
Register member Before actually register, bucketDB_allocate has to be called.
[in,out] | bktdb | bucket info |
[in] | bid | bucket ID |
[in] | sid | member ID |
Definition at line 299 of file bucket_search.f90.
subroutine, public bucket_search::bucketdb_registerpre | ( | type(bucketdb), intent(inout) | bktdb, |
integer(kind=kint), intent(in) | bid | ||
) |
Pre-register for just counting members to be actually registered Bucket ID has to be obtained with bucketDB_getBucketID.
[in,out] | bktdb | bucket info |
[in] | bid | bucket ID |
Definition at line 265 of file bucket_search.f90.
subroutine, public bucket_search::bucketdb_setup | ( | type(bucketdb), intent(inout) | bktdb, |
real(kind=kreal), dimension(3), intent(in) | x_min, | ||
real(kind=kreal), dimension(3), intent(in) | x_max, | ||
real(kind=kreal), intent(in) | dmin, | ||
integer(kind=kint), intent(in) | n_tot | ||
) |
Setup basic info of buckets.
[in,out] | bktdb | bucket info |
[in] | x_min | min coordinate of rectangle area covered by buckets |
[in] | x_max | max coordinate of rectangle area covered by buckets |
[in] | dmin | minimal size of bucket |
[in] | n_tot | total number of members to be stored |
Definition at line 175 of file bucket_search.f90.