class_vector_field Module

Class


Uses

  • module~~class_vector_field~~UsesGraph module~class_vector_field class_vector_field module~class_field class_field module~class_vector_field->module~class_field module~class_bc class_bc module~class_vector_field->module~class_bc module~class_dimensions class_dimensions module~class_vector_field->module~class_dimensions module~class_vector class_vector module~class_vector_field->module~class_vector module~class_material class_material module~class_vector_field->module~class_material module~class_psblas class_psblas module~class_vector_field->module~class_psblas module~class_mesh class_mesh module~class_vector_field->module~class_mesh module~class_field->module~class_bc module~class_field->module~class_dimensions module~class_field->module~class_material module~class_field->module~class_psblas module~class_field->module~class_mesh module~grid_interface grid_interface module~class_field->module~grid_interface module~class_bc->module~class_psblas module~class_motion class_motion module~class_bc->module~class_motion module~class_bc_math class_bc_math module~class_bc->module~class_bc_math module~class_bc_wall class_bc_wall module~class_bc->module~class_bc_wall module~class_dimensions->module~class_psblas module~class_vector->module~class_psblas module~class_material->module~class_psblas matlib matlib module~class_material->matlib module~class_stopwatch class_stopwatch module~class_psblas->module~class_stopwatch module~tools_psblas tools_psblas module~class_psblas->module~tools_psblas module~class_mesh->module~class_vector module~class_mesh->module~class_psblas module~class_cell class_cell module~class_mesh->module~class_cell module~class_keytable class_keytable module~class_mesh->module~class_keytable module~class_surface class_surface module~class_mesh->module~class_surface module~class_connectivity class_connectivity module~class_mesh->module~class_connectivity module~class_least_squares class_least_squares module~class_mesh->module~class_least_squares psb_base_mod psb_base_mod module~class_mesh->psb_base_mod module~class_vertex class_vertex module~class_mesh->module~class_vertex module~class_mesh->module~grid_interface module~class_face class_face module~class_mesh->module~class_face module~class_motion->module~class_vector module~class_motion->module~class_psblas module~class_stopwatch->module~tools_psblas module~class_stopwatch->psb_base_mod module~tools_psblas->psb_base_mod psb_krylov_mod psb_krylov_mod module~tools_psblas->psb_krylov_mod psb_prec_mod psb_prec_mod module~tools_psblas->psb_prec_mod module~class_cell->module~class_psblas module~class_bc_math->module~class_psblas module~class_surface->module~class_connectivity module~class_cylinder class_cylinder module~class_surface->module~class_cylinder module~class_plane class_plane module~class_surface->module~class_plane module~class_connectivity->module~class_psblas module~class_least_squares->module~class_psblas module~class_least_squares->module~class_connectivity module~class_bc_wall->module~class_dimensions module~class_bc_wall->module~class_vector module~class_bc_wall->module~class_material module~class_bc_wall->module~class_psblas module~class_bc_wall->module~class_mesh module~class_bc_wall->module~class_bc_math module~class_vertex->module~class_vector module~class_vertex->module~class_psblas module~units_interface units_interface module~grid_interface->module~units_interface module~object_interface object_interface module~grid_interface->module~object_interface module~class_face->module~class_psblas module~class_cylinder->module~class_vector module~class_cylinder->module~class_psblas module~class_cylinder->module~class_vertex module~units_interface->module~object_interface module~class_plane->module~class_vector module~class_plane->module~class_psblas

Used by

  • module~~class_vector_field~~UsedByGraph module~class_vector_field class_vector_field module~tools_nemo tools_nemo module~tools_nemo->module~class_vector_field module~op_grad op_grad module~tools_nemo->module~op_grad module~class_output class_output module~tools_nemo->module~class_output module~op_field op_field module~tools_nemo->module~op_field module~op_ddt op_ddt module~tools_nemo->module~op_ddt module~op_d2dt2 op_d2dt2 module~tools_nemo->module~op_d2dt2 module~op_div op_div module~tools_nemo->module~op_div module~op_laplacian op_laplacian module~tools_nemo->module~op_laplacian module~tools_output tools_output module~tools_nemo->module~tools_output module~class_vector_pde class_vector_pde module~tools_nemo->module~class_vector_pde proc~rhie_chow rhie_chow proc~rhie_chow->module~class_vector_field proc~vector_pde_d2dt2 vector_pde_d2dt2 proc~vector_pde_d2dt2->module~class_vector_field proc~vector_pde_d2dt2->module~class_vector_pde proc~vector_field_grad vector_field_grad proc~vector_field_grad->module~class_vector_field module~op_grad->module~class_vector_field module~op_grad->module~class_vector_pde module~class_output->module~class_vector_field proc~vector_pde_ddt vector_pde_ddt proc~vector_pde_ddt->module~class_vector_field proc~vector_pde_ddt->module~class_vector_pde module~op_field->module~class_vector_field proc~vector_pde_source vector_pde_source proc~vector_pde_source->module~class_vector_field proc~vector_pde_source->module~class_vector_pde module~class_vtk_output class_vtk_output module~class_vtk_output->module~class_vector_field module~class_vtk_output->module~class_output module~op_ddt->module~class_vector_field module~op_ddt->module~class_vector_pde module~op_d2dt2->module~class_vector_field module~op_d2dt2->module~class_vector_pde module~class_vector_field_procedures class_vector_field_procedures module~class_vector_field_procedures->module~class_vector_field proc~write_vector_field write_vector_field proc~write_vector_field->module~class_vector_field proc~write_vector_field->module~class_output module~op_div->module~class_vector_field module~op_div->module~class_vector_pde proc~vector_pde_laplacian vector_pde_laplacian proc~vector_pde_laplacian->module~class_vector_field proc~vector_pde_laplacian->module~op_grad proc~vector_pde_laplacian->module~class_vector_pde proc~vector_field_flux vector_field_flux proc~vector_field_flux->module~class_vector_field module~op_laplacian->module~class_vector_field module~op_laplacian->module~class_vector_pde module~tools_output->module~class_vector_field module~tools_output->module~class_output proc~solve_vector_pde solve_vector_pde proc~solve_vector_pde->module~class_vector_field module~class_exodus_procedures class_exodus_procedures module~class_exodus_procedures->module~class_vector_field module~class_exodus_procedures->module~class_output module~class_exodus class_exodus module~class_exodus_procedures->module~class_exodus proc~scalar_vector_fld_mul scalar_vector_fld_mul proc~scalar_vector_fld_mul->module~class_vector_field proc~scalar_fld_vector_mul scalar_fld_vector_mul proc~scalar_fld_vector_mul->module~class_vector_field module~class_vector_pde->module~class_vector_field proc~get_vector_field get_vector_field proc~get_vector_field->module~class_vector_field proc~get_vector_field->module~class_output module~class_exodus->module~class_vector_field module~class_exodus->module~class_output proc~vector_pde_grad vector_pde_grad proc~vector_pde_grad->module~class_vector_pde proc~write_vtk_mesh write_vtk_mesh proc~write_vtk_mesh->module~class_output module~vector_pde_laplacian_implementation vector_pde_laplacian_implementation module~vector_pde_laplacian_implementation->module~op_laplacian module~class_output_procedures class_output_procedures module~class_output_procedures->module~class_output module~scalar_pde_d2dt2_implementation scalar_pde_d2dt2_implementation module~scalar_pde_d2dt2_implementation->module~op_d2dt2 module~write_mesh_implementation write_mesh_implementation module~write_mesh_implementation->module~tools_output module~vector_pde_ddt_implementation vector_pde_ddt_implementation module~vector_pde_ddt_implementation->module~op_ddt proc~vector_pde_div vector_pde_div proc~vector_pde_div->module~class_vector_pde module~flux_pde_div_implementation flux_pde_div_implementation module~flux_pde_div_implementation->module~op_div proc~create_output create_output proc~create_output->module~class_vtk_output module~class_vtk_output_procedures class_vtk_output_procedures module~class_vtk_output_procedures->module~class_vtk_output module~op_d2dt2_procedures op_d2dt2_procedures module~op_d2dt2_procedures->module~op_d2dt2 module~op_ddt_procedures op_ddt_procedures module~op_ddt_procedures->module~op_ddt module~scalar_vector_fld_mul_implementation scalar_vector_fld_mul_implementation module~scalar_vector_fld_mul_implementation->module~op_field module~scalar_pde_laplacian_implementation scalar_pde_laplacian_implementation module~scalar_pde_laplacian_implementation->module~op_laplacian module~rhie_chow_implementation rhie_chow_implementation module~rhie_chow_implementation->module~op_field module~write_vector_field_implementation write_vector_field_implementation module~write_vector_field_implementation->module~tools_output module~vector_pde_div_implementation vector_pde_div_implementation module~vector_pde_div_implementation->module~op_div module~scalar_field_grad_implementation scalar_field_grad_implementation module~scalar_field_grad_implementation->module~op_grad module~op_laplacian_procedures op_laplacian_procedures module~op_laplacian_procedures->module~op_laplacian module~write_scalar_field_implementation write_scalar_field_implementation module~write_scalar_field_implementation->module~tools_output proc~write_mesh write_mesh proc~write_mesh->module~class_output module~class_vector_pde_procedures class_vector_pde_procedures module~class_vector_pde_procedures->module~class_vector_pde module~scalar_pde_div_implementation scalar_pde_div_implementation module~scalar_pde_div_implementation->module~op_div module~vector_field_flux_implementation vector_field_flux_implementation module~vector_field_flux_implementation->module~op_field module~vector_pde_d2dt2_implementation vector_pde_d2dt2_implementation module~vector_pde_d2dt2_implementation->module~op_d2dt2 module~vector_field_grad_implementation vector_field_grad_implementation module~vector_field_grad_implementation->module~op_grad proc~scalar_pde_laplacian scalar_pde_laplacian proc~scalar_pde_laplacian->module~op_grad module~scalar_pde_ddt_implementation scalar_pde_ddt_implementation module~scalar_pde_ddt_implementation->module~op_ddt module~scalar_fld_vector_mul_implementation scalar_fld_vector_mul_implementation module~scalar_fld_vector_mul_implementation->module~op_field proc~get_scalar_field get_scalar_field proc~get_scalar_field->module~class_output module~vector_pde_grad_implementation vector_pde_grad_implementation module~vector_pde_grad_implementation->module~op_grad

Contents


Interfaces

public interface vector_field

  • public function vector_field_(base, x, bx)

    Default public constructor, necessary with ifort

    Arguments

    Type IntentOptional AttributesName
    type(field), intent(in) :: base
    type(vector), intent(in) :: x(:)
    type(vector), intent(in) :: bx(:)

    Return Value type(vector_field)

interface

----- Getters for Additional Members -----

Read more…
  • private module subroutine assign_vector_field_s(f, x)

    Arguments

    Type IntentOptional AttributesName
    class(vector_field), intent(inout) :: f
    type(vector), intent(in) :: x

interface

----- Getters for Additional Members -----

Read more…
  • private module subroutine assign_vector_field_v(f, x)

    Arguments

    Type IntentOptional AttributesName
    class(vector_field), intent(inout) :: f
    type(vector), intent(in) :: x(:)

interface

----- Getters for Additional Members -----

Read more…
  • private module subroutine check_mesh_consistency_vf(f1, f2, where)

    Arguments

    Type IntentOptional AttributesName
    class(vector_field), intent(in) :: f1
    type(vector_field), intent(in) :: f2
    character(len=*), intent(in) :: where

interface

----- Getters for Additional Members -----

Read more…
  • private module subroutine create_vector_field(fld, msh, dim, bc, mats, on_faces, x0, name)

    Constructor Mandatory arguments

    Arguments

    Type IntentOptional AttributesName
    class(vector_field), intent(out) :: fld
    type(mesh), intent(in), target:: msh

    Optional arguments

    type(dimensions), intent(in), optional :: dim
    type(bc_poly), intent(in), optional target:: bc(:)
    type(matptr), intent(in), optional target:: mats(:)
    logical, intent(in), optional :: on_faces
    type(vector), intent(in), optional :: x0
    character(len=*), intent(in), optional :: name

interface

----- Getters for Additional Members -----

Read more…
  • private module subroutine free_field(fld)

    Destructor

    Arguments

    Type IntentOptional AttributesName
    class(vector_field), intent(inout) :: fld

interface

----- Getters for Additional Members -----

Read more…
  • private module subroutine get_vector_field_base(fld, base)

    Arguments

    Type IntentOptional AttributesName
    class(vector_field), intent(in) :: fld
    type(field), intent(out) :: base

interface

----- Getters for Additional Members -----

Read more…
  • private module subroutine get_vector_field_bx_r(fld, bx)

    Arguments

    Type IntentOptional AttributesName
    class(vector_field), intent(in) :: fld
    real(kind=psb_dpk_), intent(out), allocatable:: bx(:,:)

interface

----- Getters for Additional Members -----

Read more…
  • private module subroutine get_vector_field_bx_v(fld, bx)

    Arguments

    Type IntentOptional AttributesName
    class(vector_field), intent(in) :: fld
    type(vector), intent(out), allocatable:: bx(:)

interface

----- Getters for Additional Members -----

Read more…
  • private module subroutine get_vector_field_x_r(fld, x)

    Arguments

    Type IntentOptional AttributesName
    class(vector_field), intent(in) :: fld
    real(kind=psb_dpk_), intent(out), allocatable:: x(:,:)

interface

----- Getters for Additional Members -----

Read more…
  • private module subroutine get_vector_field_x_v(fld, x)

    Arguments

    Type IntentOptional AttributesName
    class(vector_field), intent(in) :: fld
    type(vector), intent(out), allocatable:: x(:)

interface

----- Getters for Additional Members -----

Read more…
  • private module subroutine get_vector_field_xp_r(fld, xp)

    Arguments

    Type IntentOptional AttributesName
    class(vector_field), intent(in) :: fld
    real(kind=psb_dpk_), intent(out), allocatable:: xp(:,:)

interface

----- Getters for Additional Members -----

Read more…
  • private module subroutine get_vector_field_xp_v(fld, xp)

    Arguments

    Type IntentOptional AttributesName
    class(vector_field), intent(in) :: fld
    type(vector), intent(out), allocatable:: xp(:)

interface

----- Getters for Additional Members -----

Read more…

interface

----- Getters for Additional Members -----

Read more…
  • private module function nemo_sizeof(fld)

    Arguments

    Type IntentOptional AttributesName
    class(vector_field), intent(in) :: fld

    Return Value integer(kind=nemo_int_long_)

interface

----- Getters for Additional Members -----

Read more…
  • private module subroutine set_vector_field_bound_element(f, i, x)

    Arguments

    Type IntentOptional AttributesName
    class(vector_field), intent(inout) :: f
    integer, intent(in) :: i
    type(vector), intent(in) :: x

interface

----- Getters for Additional Members -----

Read more…
  • private module subroutine set_vector_field_element(f, i, x)

    Arguments

    Type IntentOptional AttributesName
    class(vector_field), intent(inout) :: f
    integer, intent(in) :: i
    type(vector), intent(in) :: x

interface

----- Getters for Additional Members -----

Read more…
  • private module subroutine set_vector_field_group(f, ig, x)

    Arguments

    Type IntentOptional AttributesName
    class(vector_field), intent(inout) :: f
    integer, intent(in) :: ig
    type(vector), intent(in) :: x

interface

----- Getters for Additional Members -----

Read more…
  • private module subroutine set_vector_field_x(fld, x)

    Arguments

    Type IntentOptional AttributesName
    class(vector_field), intent(inout) :: fld
    real(kind=psb_dpk_), intent(in), allocatable:: x(:,:)

interface

----- Getters for Additional Members -----

Read more…
  • private module subroutine update_vector_field(fld)

    Arguments

    Type IntentOptional AttributesName
    class(vector_field), intent(inout) :: fld

interface

----- Getters for Additional Members -----

Read more…

interface

----- Getters for Additional Members -----

Read more…
  • private module function vector_field_scal(a, f2) result(r)

    Arguments

    Type IntentOptional AttributesName
    real(kind=psb_dpk_), intent(in) :: a
    class(vector_field), intent(in) :: f2

    Return Value type(vector_field)

interface

----- Getters for Additional Members -----

Read more…

Derived Types

type, public, extends(field) :: vector_field

Components

TypeVisibility AttributesNameInitial
type(vector), private, allocatable:: bx(:)
integer, private, allocatable:: mat(:)
type(vector), private, allocatable:: x(:)
type(vector), private, allocatable:: xp(:)

Constructor

public function vector_field_(base, x, bx)

Default public constructor, necessary with ifort

Type-Bound Procedures

generic, public :: assignment(=) => assign_vector_field_s, assign_vector_field_v

User-defined assignments

procedure, public :: bc_
procedure, public :: check_field_operands
generic, public :: check_mesh_consistency => check_mesh_consistency_bf, check_mesh_consistency_vf
procedure, public :: create_field
procedure, public :: create_vector_field
generic, public :: dim_ => get_field_dim
generic, public :: fld_size => get_field_size
procedure, public :: free_field
generic, public :: get_base => get_vector_field_base
generic, public :: get_bx => get_vector_field_bx_r, get_vector_field_bx_v
generic, public :: get_material => get_field_mat_sub
procedure, public :: get_mesh
procedure, public :: get_units
generic, public :: get_x => get_vector_field_x_r, get_vector_field_x_v
generic, public :: get_xp => get_vector_field_xp_r, get_vector_field_xp_v
generic, public :: interp_on_faces => interp_on_faces_v
procedure, public :: mark_as_defined
procedure, public :: mat_
procedure, public :: msh_
procedure, public :: name_
procedure, public :: nemo_sizeof
procedure, public :: on_faces_

Getters

generic, public :: operator(*) => vector_field_scal

Algebra operations

generic, public :: operator(+) => vector_field_sum
generic, public :: operator(-) => vector_field_dif
generic, public :: set_field_bound_element => set_vector_field_bound_element
procedure, public :: set_field_dim
generic, public :: set_field_element => set_vector_field_element
generic, public :: set_field_group => set_vector_field_group
procedure, public :: set_field_on_faces

Setters

procedure, public :: set_units
generic, public :: set_x => set_vector_field_x
generic, public :: update_field => update_vector_field
procedure, public :: user_defined
procedure, private :: assign_vector_field_s
procedure, private :: assign_vector_field_v
procedure, private :: check_mesh_consistency_vf
procedure, private :: get_vector_field_base
procedure, private :: get_vector_field_bx_r
procedure, private :: get_vector_field_bx_v
procedure, private :: get_vector_field_x_r
procedure, private :: get_vector_field_x_v
procedure, private :: get_vector_field_xp_r
procedure, private :: get_vector_field_xp_v
procedure, private :: interp_on_faces_v
procedure, private :: set_vector_field_bound_element
procedure, private :: set_vector_field_element
procedure, private :: set_vector_field_group
procedure, private :: set_vector_field_x
procedure, private :: update_vector_field
procedure, private :: vector_field_dif
procedure, private, pass(f2) :: vector_field_scal

Algebra operations

procedure, private :: vector_field_sum