MPI-SCATCI 2.0
An MPI version of SCATCI
Loading...
Searching...
No Matches
MatrixElement_module::MatrixElementVector Type Reference

This handles the matrix elements and also expands the vector size if we have reached max capacity. More...

Inheritance diagram for MatrixElement_module::MatrixElementVector:
Collaboration diagram for MatrixElement_module::MatrixElementVector:

Public Member Functions

procedure, public sort (this)
 Sort elements.
procedure, public initialize_struct_self (this, matrix_size, matrix_type, block_size)
 Initialize the type.
procedure, public construct_self (this)
 Construct the type.
procedure, public insert_matelem_self (this, i, j, coefficient, class, thresh)
 Insert a new element.
procedure, public get_matelem_self (this, idx, i, j, coeff)
 Retrieve element.
procedure, public clear_self (this)
 Clear elements.
procedure, public expand_capacity (this, capacity)
 Retrieve element.
procedure, public destroy_self (this)
 Destroy elements.

Public Attributes

type(matrixcache) matrix_cache

Detailed Description

This handles the matrix elements and also expands the vector size if we have reached max capacity.

Authors
A Al-Refaie
Date
2017

Definition at line 45 of file MatrixElement_module.f90.

Member Function/Subroutine Documentation

◆ clear_self()

procedure, public MatrixElement_module::MatrixElementVector::clear_self ( class(matrixelementvector) this)

Clear elements.

Authors
A Al-Refaie
Date
2017

Definition at line 54 of file MatrixElement_module.f90.

◆ construct_self()

procedure, public MatrixElement_module::MatrixElementVector::construct_self ( class(matrixelementvector) this)

Construct the type.

Authors
A Al-Refaie
Date
2017

Definition at line 51 of file MatrixElement_module.f90.

◆ destroy_self()

procedure, public MatrixElement_module::MatrixElementVector::destroy_self ( class(matrixelementvector) this)

Destroy elements.

Authors
A Al-Refaie
Date
2017

Definition at line 56 of file MatrixElement_module.f90.

◆ expand_capacity()

procedure, public MatrixElement_module::MatrixElementVector::expand_capacity ( class(matrixelementvector) this,
integer, intent(in) capacity )

Retrieve element.

Authors
A Al-Refaie
Date
2017

Definition at line 55 of file MatrixElement_module.f90.

◆ get_matelem_self()

procedure, public MatrixElement_module::MatrixElementVector::get_matelem_self ( class(matrixelementvector) this,
integer, intent(in) idx,
integer, intent(out) i,
integer, intent(out) j,
real(wp), intent(out) coeff )

Retrieve element.

Authors
A Al-Refaie
Date
2017

Definition at line 53 of file MatrixElement_module.f90.

◆ initialize_struct_self()

procedure, public MatrixElement_module::MatrixElementVector::initialize_struct_self ( class(matrixelementvector) this,
integer, intent(in) matrix_size,
integer, intent(in) matrix_type,
integer, intent(in) block_size )

Initialize the type.

Authors
A Al-Refaie
Date
2017

Definition at line 50 of file MatrixElement_module.f90.

◆ insert_matelem_self()

procedure, public MatrixElement_module::MatrixElementVector::insert_matelem_self ( class(matrixelementvector) this,
integer, intent(in) i,
integer, intent(in) j,
real(wp), intent(in) coefficient,
integer, intent(in) class,
real(wp), intent(in) thresh )

Insert a new element.

Authors
A Al-Refaie
Date
2017

Definition at line 52 of file MatrixElement_module.f90.

◆ sort()

procedure, public MatrixElement_module::MatrixElementVector::sort ( class(matrixelementvector) this)

Sort elements.

Authors
A Al-Refaie
Date
2017

Definition at line 48 of file MatrixElement_module.f90.

Member Data Documentation

◆ matrix_cache

type(matrixcache) MatrixElement_module::MatrixElementVector::matrix_cache

Definition at line 46 of file MatrixElement_module.f90.


The documentation for this type was generated from the following file: