V3FIT
Public Member Functions | List of all members
compression::compression_construct Interface Reference

Interface for the construction of compression_class types using compression_construct_new or compression_construct_netcdf. More...

Public Member Functions

type(compression_class) function, pointer compression_construct_new (data_in, svd_cut_off)
 Construct a compression_class object. More...
 
type(compression_class) function, pointer compression_construct_netcdf (ncid, name)
 Construct a compression_class object by reading from an netcdf. file. More...
 

Detailed Description

Interface for the construction of compression_class types using compression_construct_new or compression_construct_netcdf.

Definition at line 79 of file compression.f.

Member Function/Subroutine Documentation

◆ compression_construct_netcdf()

type (compression_class) function, pointer compression::compression_construct::compression_construct_netcdf ( integer, intent(in)  ncid,
character (len=*), intent(in)  name 
)

Construct a compression_class object by reading from an netcdf. file.

Constructs data from a precompressed netcdf file.

Parameters
[in]ncidA netcdf file id.
[in]nameA netcdf variable name id.
[in]nameFlag discribing how the data was compressed.
Returns
A pointer to a constructed compression_class object.

Definition at line 287 of file compression.f.

◆ compression_construct_new()

type (compression_class) function, pointer compression::compression_construct::compression_construct_new ( real (rprec), dimension(:,:), intent(in)  data_in,
real (rprec), intent(in)  svd_cut_off 
)

Construct a compression_class object.

Constructs compression object and compresses the data buffer if compression meets the specified criteria.

Parameters
[in]data_inData buffer to compress. This gets copied to the internal storage buffer.
[in]svn_cut_offCutoff value for determining the number of singular values to use for compression.
Returns
A pointer to a constructed compression_class object.

Definition at line 101 of file compression.f.


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