Globals Library 1.0
Loading...
Searching...
No Matches
norms::dir_norm Type Reference

Weighted version of Euclian norm. More...

Inheritance diagram for norms::dir_norm:
norms::abs_norm

Public Member Functions

procedure, public init (this, lun_err, ndir, noddir)
 Constructor for type Norms::dir_norm.
procedure, public eval_norm (this, nvec, vec, scr)
 Evaluation of the weighted Euclidean norm.
Public Member Functions inherited from norms::abs_norm
procedure(compute_norm), deferred, public eval_norm (this, nvec, vec, scr)
 Abstract procedure for the evaluation of the norm.

Public Attributes

integer ndir
 Number of Dirichlet nodes.
integer, dimension(:), allocatable noddir
 Indeces of the Dirichlet Nodes.

Detailed Description

Weighted version of Euclian norm.

The entries on the Dirichlet node are set to zero \(G_{i,j} = \delta_{i,j} (1 - \delta_{i,k})\) for \(k\) in noddir.

Definition at line 59 of file modNorms.f90.

Member Function/Subroutine Documentation

◆ init()

procedure, public norms::dir_norm::init ( class(dir_norm), intent(inout) this,
integer, intent(in) lun_err,
integer, intent(in) ndir,
integer, dimension(ndir), intent(in) noddir )

Constructor for type Norms::dir_norm.

Definition at line 66 of file modNorms.f90.

◆ eval_norm()

procedure, public norms::dir_norm::eval_norm ( class(dir_norm), intent(inout) this,
integer, intent(in) nvec,
real(kind=double), dimension(nvec), intent(in) vec,
real(kind=double), dimension(nvec), intent(inout), optional scr )

Evaluation of the weighted Euclidean norm.

Definition at line 68 of file modNorms.f90.

Member Data Documentation

◆ ndir

integer norms::dir_norm::ndir

Number of Dirichlet nodes.

Definition at line 61 of file modNorms.f90.

◆ noddir

integer, dimension(:), allocatable norms::dir_norm::noddir

Indeces of the Dirichlet Nodes.

Definition at line 63 of file modNorms.f90.


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