Neko  0.8.99
A portable framework for high-order spectral element flow simulations
fld_file_data Module Reference

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.

Data Types

type  fld_file_data_t
 

Functions/Subroutines

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_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...
 

Function/Subroutine Documentation

◆ fld_file_data_add()

subroutine fld_file_data::fld_file_data_add ( class(fld_file_data_t), intent(inout)  this,
class(fld_file_data_t), intent(in)  fld_data_add 
)
private

Definition at line 128 of file fld_file_data.f90.

Here is the call graph for this function:

◆ fld_file_data_free()

subroutine fld_file_data::fld_file_data_free ( class(fld_file_data_t), intent(inout)  this)
private

Definition at line 145 of file fld_file_data.f90.

◆ 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 
)

Definition at line 51 of file fld_file_data.f90.

◆ 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

Definition at line 110 of file fld_file_data.f90.

Here is the call graph for this function:

◆ fld_file_data_size()

integer function fld_file_data::fld_file_data_size ( class(fld_file_data_t this)
private

Definition at line 60 of file fld_file_data.f90.

◆ fld_file_get_list()

subroutine fld_file_data::fld_file_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

Definition at line 74 of file fld_file_data.f90.