Stellarator-Tools
netcdf_inc::nf_put_var_real Interface Reference

Interface for writing real variables. Note double 2D array used by complex real array values. More...

Public Member Functions

integer function nf_put_var_cpx_real (ncid, varid, cvals)
 Write a 32bit complex value. More...
 
integer function nf_put_var_real (ncid, varid, rvals)
 Write a real value. More...
 
integer function nf_put_var_1d_real (ncid, varid, rvals)
 Write a real valued array. More...
 
integer function nf_put_var_1d_cpx_real (ncid, varid, cvals)
 Write a 32bit complex valued array. More...
 
integer function nf_put_var_2d_real (ncid, varid, rvals)
 Read a real valued 2D array. More...
 
integer function nf_put_var_2d_cpx_real (ncid, varid, cvals)
 Write a 32bit complex valued 2D array. More...
 
integer function nf_put_var_2d_double (ncid, varid, dvals)
 Read a double valued 2D array. More...
 
integer function nf_put_var_3d_real (ncid, varid, rvals)
 Write a real valued 3D array. More...
 
integer function nf_put_var_3d_cpx_real (ncid, varid, cvals)
 Write a 32bit complex valued 3D array. More...
 

Detailed Description

Interface for writing real variables. Note double 2D array used by complex real array values.

Constructor & Destructor Documentation

◆ nf_put_var_real()

integer function netcdf_inc::nf_put_var_real::nf_put_var_real ( integer, intent(in)  ncid,
integer, intent(in)  varid,
real (real32), intent(in)  rvals 
)

Write a real value.

Parameters
[in]ncidNetcdf file id.
[in]varidVariable id.
[in]rvalsReal value to write.

Member Function/Subroutine Documentation

◆ nf_put_var_1d_cpx_real()

integer function netcdf_inc::nf_put_var_real::nf_put_var_1d_cpx_real ( integer, intent(in)  ncid,
integer, intent(in)  varid,
complex (real32), dimension(:), intent(in)  cvals 
)

Write a 32bit complex valued array.

Netcdf does not support complex types directly. Instead these values are interweaved into a real array.

Parameters
[in]ncidNetcdf file id.
[in]varidVariable id.
[out]cvalsComplex value to write.

◆ nf_put_var_1d_real()

integer function netcdf_inc::nf_put_var_real::nf_put_var_1d_real ( integer, intent(in)  ncid,
integer, intent(in)  varid,
real (real32), dimension(:), intent(in)  rvals 
)

Write a real valued array.

Parameters
[in]ncidNetcdf file id.
[in]varidVariable id.
[out]rvalsReal value to write.

◆ nf_put_var_2d_cpx_real()

integer function netcdf_inc::nf_put_var_real::nf_put_var_2d_cpx_real ( integer, intent(in)  ncid,
integer, intent(in)  varid,
complex (real32), dimension(:,:), intent(in)  cvals 
)

Write a 32bit complex valued 2D array.

Netcdf does not support complex types directly. Instead these values are interweaved into a real array.

Parameters
[in]ncidNetcdf file id.
[in]varidVariable id.
[out]cvalsComplex value to write.

◆ nf_put_var_2d_double()

integer function netcdf_inc::nf_put_var_real::nf_put_var_2d_double ( integer, intent(in)  ncid,
integer, intent(in)  varid,
real (real64), dimension(:,:), intent(in)  dvals 
)

Read a double valued 2D array.

Parameters
[in]ncidNetcdf file id.
[in]varidVariable id.
[in]dvalsDouble value to write.

◆ nf_put_var_2d_real()

integer function netcdf_inc::nf_put_var_real::nf_put_var_2d_real ( integer, intent(in)  ncid,
integer, intent(in)  varid,
real (real32), dimension(:,:), intent(in)  rvals 
)

Read a real valued 2D array.

Parameters
[in]ncidNetcdf file id.
[in]varidVariable id.
[in]rvalsReal value to write.

◆ nf_put_var_3d_cpx_real()

integer function netcdf_inc::nf_put_var_real::nf_put_var_3d_cpx_real ( integer, intent(in)  ncid,
integer, intent(in)  varid,
complex (real32), dimension(:,:,:), intent(in)  cvals 
)

Write a 32bit complex valued 3D array.

Netcdf does not support complex types directly. Instead these values are interweaved into a real array.

Parameters
[in]ncidNetcdf file id.
[in]varidVariable id.
[out]cvalsComplex value to write.

◆ nf_put_var_3d_real()

integer function netcdf_inc::nf_put_var_real::nf_put_var_3d_real ( integer, intent(in)  ncid,
integer, intent(in)  varid,
real (real32), dimension(:,:,:), intent(in)  rvals 
)

Write a real valued 3D array.

Parameters
[in]ncidNetcdf file id.
[in]varidVariable id.
[in]rvalsReal value to write.

◆ nf_put_var_cpx_real()

integer function netcdf_inc::nf_put_var_real::nf_put_var_cpx_real ( integer, intent(in)  ncid,
integer, intent(in)  varid,
complex (real32), intent(in)  cvals 
)

Write a 32bit complex value.

Netcdf does not support complex types directly. Instead these values are interweaved into a real array.

Parameters
[in]ncidNetcdf file id.
[in]varidVariable id.
[out]cvalsComplex value to write.

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