Simple module to handle fld file series. Provides an interface to the different fields sotred in a fld file Also provides simple functions to scale and add different fld files. An example of using this module is shown in contrib/average_fields.f90 The fld_file_data_t should dynamically update each time one reads a new fld file. Martin Karp 1/2-2023.
|
subroutine | fld_file_data_init (this, nelv, offset_el) |
| Initialise a fld_file_data object with nelv elements with a offset_nel. More...
|
|
integer function | fld_file_data_size (this) |
| Get number of fields in this fld file. More...
|
|
subroutine | fld_file_data_init_same (this, fld_file, n) |
| Genereate same fields as in another fld_file. More...
|
|
subroutine | fld_file_data_init_n_fields (this, n_fields, n) |
| Genereate same fields as in another fld_file. More...
|
|
subroutine | fld_file_data_get_list (this, ptr_list, n) |
| Get a list with pointers to the fields in the fld file. More...
|
|
subroutine | fld_file_data_scale (this, c) |
| Scale the values stored in this fld_file_data. More...
|
|
subroutine | fld_file_data_add (this, fld_data_add) |
| Add the values in another fld file to this. More...
|
|
subroutine | fld_file_data_free (this) |
| Deallocate fld file data type. More...
|
|
type(global_interpolation_t) function | fld_file_data_generate_interpolator (this, to_dof, to_msh, tolerance) |
| Generates a global_interpolation object to interpolate the fld data. More...
|
|
◆ fld_file_data_add()
◆ fld_file_data_free()
subroutine fld_file_data::fld_file_data_free |
( |
class(fld_file_data_t), intent(inout) |
this | ) |
|
|
private |
◆ fld_file_data_generate_interpolator()
- Parameters
-
to_dof | Dofmap on which to interpolate. |
to_msh | Mesh on which to interpolate. |
tolerance | Tolerance for the newton iterations. |
To ensure that each point is within an element Remedies issue with points on the boundary Technically gives each point a slightly different value but still within the specified tolerance
Definition at line 258 of file fld_file_data.f90.
◆ fld_file_data_get_list()
subroutine fld_file_data::fld_file_data_get_list |
( |
class(fld_file_data_t), intent(in), target |
this, |
|
|
type(vector_ptr_t), dimension(n), intent(inout) |
ptr_list, |
|
|
integer, intent(in) |
n |
|
) |
| |
|
private |
◆ fld_file_data_init()
subroutine fld_file_data::fld_file_data_init |
( |
class(fld_file_data_t), intent(inout) |
this, |
|
|
integer, intent(in), optional |
nelv, |
|
|
integer, intent(in), optional |
offset_el |
|
) |
| |
◆ fld_file_data_init_n_fields()
subroutine fld_file_data::fld_file_data_init_n_fields |
( |
class(fld_file_data_t), intent(inout), target |
this, |
|
|
integer, intent(in) |
n_fields, |
|
|
integer, intent(in) |
n |
|
) |
| |
|
private |
◆ fld_file_data_init_same()
subroutine fld_file_data::fld_file_data_init_same |
( |
class(fld_file_data_t), intent(inout), target |
this, |
|
|
class(fld_file_data_t), intent(in), target |
fld_file, |
|
|
integer, intent(in) |
n |
|
) |
| |
|
private |
◆ fld_file_data_scale()
subroutine fld_file_data::fld_file_data_scale |
( |
class(fld_file_data_t), intent(inout) |
this, |
|
|
real(kind=rp), intent(in) |
c |
|
) |
| |
|
private |
◆ fld_file_data_size()
integer function fld_file_data::fld_file_data_size |
( |
class(fld_file_data_t) |
this | ) |
|
|
private |