Corfield
 All Classes Namespaces Files Functions Variables Pages
Public Member Functions | List of all members
module_buffer Module Reference

Transform some outputs of corfield into a 1D buffer and reversely. Used by F2py main program f2py_corfield to get some outputs without writing intermediary files. For the moments, transform the following variables: More...

Public Member Functions

subroutine construct_buffer (fieldlines, buffer)
 Given an array of t_fieldline structures, (re)allocate and build the corresponding 1d array buffer: More...
 
subroutine read_buffer (buffer, fieldlines)
 Given a 1d array buffer, (re)allocate and build the corresponding array of t_fieldline structures. More...
 

Detailed Description

Transform some outputs of corfield into a 1D buffer and reversely. Used by F2py main program f2py_corfield to get some outputs without writing intermediary files. For the moments, transform the following variables:

Member Function/Subroutine Documentation

subroutine module_buffer::construct_buffer ( type(t_fieldline), dimension(:)  fieldlines,
real(kind=dp), dimension(:), allocatable  buffer 
)

Given an array of t_fieldline structures, (re)allocate and build the corresponding 1d array buffer:

Author
Mikel Indurain
Parameters
[in]fieldlines
[out]buffer

Here is the caller graph for this function:

subroutine module_buffer::read_buffer ( real(kind=dp), dimension(:)  buffer,
type(t_fieldline), dimension(:), allocatable  fieldlines 
)

Given a 1d array buffer, (re)allocate and build the corresponding array of t_fieldline structures.

Author
Mikel Indurain
Parameters
[in]buffer= real(kind=dp)(:)
[out]fieldlines= type(t_fieldline)(:)

Here is the call graph for this function:

Here is the caller graph for this function:


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