zfp_field_2d Interface

interface


Called by

interface~~zfp_field_2d~~CalledByGraph interface~zfp_field_2d zfp_field_2d proc~zfp_create_field zfp_create_field proc~zfp_create_field->interface~zfp_field_2d proc~init compressor_zfp%init proc~init->proc~zfp_create_field proc~compress compressor_zfp%compress proc~compress->proc~init proc~decompress compressor_zfp%decompress proc~decompress->proc~init

public function zfp_field_2d(uncompressed_ptr, scalar_type, nx, ny) result(field) bind(c, name="zfp_field_2d")

Arguments

Type IntentOptional Attributes Name
type(c_ptr), value :: uncompressed_ptr

pointer to uncompressed scalars (may be NULL)

type(zfp_type), value :: scalar_type

scalar type

integer(kind=c_size_t), value :: nx

number of scalars in x dimension

integer(kind=c_size_t), value :: ny

number of scalars in y dimension

Return Value type(zfp_field)

allocated field metadata

Description

Allocate metadata for 2D field f[ny][nx]