version 0.6.0
type_edge_field Module Reference

Declaration of a type (and associated routines) for double precision variable defined on edges. More...

Functions/Subroutines

pure subroutine initialize_edge_field_integer (field, kkk, lll, mmm, val_xy, val_xz, val_yz)
 Initialize an integer edge field.
 
pure subroutine initialize_edge_field_logical (field, kkk, lll, mmm, val_xy, val_xz, val_yz)
 Initialize a logical edge field.
 
subroutine unalloc_edge_field_double (vector)
 Unalloc a double edge field.
 
subroutine unalloc_edge_field_integer (vector)
 Unalloc an integer edge field.
 
subroutine unalloc_edge_field_logical (vector)
 Unalloc a logical edge field.
 

Detailed Description

Todo:
finish doc

Contains initialization and unallocation routines for integer, double precision and logical edge_field type

Usage

Initialize to 0 a edge field:

call initialize(edge_field_variable, nx, ny, nz)

To initialize an adge field to another value:

call initialize(edge_field_variable, nx, ny, nz, val_x=1d0, val_y=1d0, val_z=1d0)

Release the memory:

call unalloc(edge_field_variable)