Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Encapsulation for Fortran netcdf I/O with different data type, dimension, struct data, etc.

License

NotificationsYou must be signed in to change notification settings

Roadelse/EasyNC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Encapsulation for Fortran netcdf I/O with different data type, dimension, struct data, etc.

Interfaces

easyO & easyI

supports:

  • overload for different generic data type and ranks, including int4, int8, real4, real8, charater(*), logical, complex, and max to 7-dimensional array
  • I/O with sub-array in netcdf variable, via optional arguments to specify shape_total, position and count_lens

easyOA & easyIA

a wrapper for allocatable array (doesn't support allocatable scalar by now)

easyOP & easyIP

a wrapper for pointer array (doesn't support pointer scalar as well), will not keep the=> relationship after dump & load

build

usually just build it in./cbuild.gnu, orintel

structure

  • lib/ : will possess thelibEasyNC.a library
  • include/ : will possess theeasync.mod
  • bin/ :
    • render-struct-io/ : possess the scripts and templates for rendering a struct I/O Fortran code

source

  • ./src/ : source code
    • EasyNC.F90 : final target source code
    • prep/ : jinja2 templates and scripts to generate the finalEasyNC.F90
  • ./test/ : test F90 code

How-to-use

built with cmake:

mkdir cbuild&&cd$_cmake ..makemaketest# thenls includels libls bin

About

Encapsulation for Fortran netcdf I/O with different data type, dimension, struct data, etc.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp