Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File IO improvements #319

Merged
merged 20 commits into from
Nov 16, 2017
Merged

Commits on Oct 4, 2017

  1. Implementation of simulation identifier tag

    - Modified the Parameters_Method_* and Method_* source files
    - Modified Logging, State, Configparser and Configwriter source files
    - Modified the default input file and the input files of the unit tests
    - Modified the INPUT documentation
    smavros committed Oct 4, 2017
    Configuration menu
    Copy the full SHA
    3dda49b View commit details
    Browse the repository at this point in the history

Commits on Oct 5, 2017

  1. Test for OVF file IO

    - Added IO test
    - Improved OVF writer
    - Added IO files of unit tests to gitignore
    - Added gitkeep in IO folder of unit tests
    smavros committed Oct 5, 2017
    Configuration menu
    Copy the full SHA
    f629c32 View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2017

  1. Reimplemented Read_From_OVF() for binary data

    - Added simple test for OVF IO
    - Split Read_From_OVF() to smaller functions
    - Modified Filter_File_Handle object
    - Added new attributes and methods to Filter_File_Handle object
    - Added Exception for File_reading_error
    - Moved Fileformat enum class from IO to standalone header to avoid
    circular dependencies in IO
    - Fixed spelling mistake in Save_To_OVF() in Datawriter.cpp
    smavros committed Oct 18, 2017
    Configuration menu
    Copy the full SHA
    686d041 View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2017

  1. Configuration menu
    Copy the full SHA
    6942567 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    544f49d View commit details
    Browse the repository at this point in the history
  3. Minor changes and trivial tests for file formats

    - Renamed Exception
    - Fixed Read_Single() call in Configparser
    - Initialiaze all variables in OVF Read
    - Fixed typo in Datawriter for OVF Write
    - Removed some Logs from Filter_File_Handle
    smavros committed Oct 23, 2017
    Configuration menu
    Copy the full SHA
    b7006ad View commit details
    Browse the repository at this point in the history

Commits on Oct 25, 2017

  1. Changed API Write and Read functions

    - Modified the API documentation
    - Modified the Python API wrapping
    - Added declarations for IO_Chain_Append() and IO_N_Images_In_File()
    - Renamed Save_SpinChain_Configuration to
    Save_Spin_Configuration_Chaing()
    - Added comment for vacancies
    - Small modification in IO test
    smavros committed Oct 25, 2017
    Configuration menu
    Copy the full SHA
    7f28d10 View commit details
    Browse the repository at this point in the history
  2. Improvements

    - Improved IO test
    - Added Require_Single() method in Filter_File_Handle
    smavros committed Oct 25, 2017
    Configuration menu
    Copy the full SHA
    f9923b1 View commit details
    Browse the repository at this point in the history

Commits on Oct 27, 2017

  1. Implementation of Image writing

    - added SPIRIT in name of corresponding VF_FileFormat
    - extended OVF to OVF_bin8, OVF_bin4 and OVF_text
    - added Save_to_SPIRIT() for every SPIRIT fileformat
    - changed parameters to Datawriter.cpp functions for images to
    vectorfield and geometry
    - added comments to IO test
    - improved code formating and indentation
    smavros committed Oct 27, 2017
    Configuration menu
    Copy the full SHA
    3659f54 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b7866c7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    10037fb View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2017

  1. Reimplemented Save_To_OVF() for

    - rectangular mesh
    - 8byte binary
    - text
    - Split the data writing in different functions
    smavros committed Nov 8, 2017
    Configuration menu
    Copy the full SHA
    5efec4a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8a99b04 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    56b7b33 View commit details
    Browse the repository at this point in the history

Commits on Nov 11, 2017

  1. Reimplementation of Write_Chain_Spin_Configuration() function

    - renamed Write_Spin_Configurations_Chain() to
    Write_Chain_Spin_Configuration()
    - added Write_SPIRIT_Version()
    - implemented IO_Chain_Append()
    - added comment argument in IO_Chain_Write/Append()
    - comment is initialized as dash "-"
    - OVF "valuedim" is now called by RequiredSingle() in Read_From_OVF()
    - renamed functions IO_Write_System_*() to IO_Chain_Write_*()
    - renamed function IO*System*() to IO*Image*()
    - extended API IO test
    - extended Python API IO test
    - modified python wrapping
    - modified corresponding documentation
    smavros committed Nov 11, 2017
    Configuration menu
    Copy the full SHA
    9f8137a View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2017

  1. Configuration menu
    Copy the full SHA
    3763cb5 View commit details
    Browse the repository at this point in the history

Commits on Nov 15, 2017

  1. Finished OVF binary writing

    - Implemented OVF binary 4
    - OVF binary writing independently of scalar length
    smavros committed Nov 15, 2017
    Configuration menu
    Copy the full SHA
    accb300 View commit details
    Browse the repository at this point in the history
  2. Finished OVF binary parser for every case

    - Corrected comments in Datawriter for OVF
    - Added all the OVF formats in the unit test
    smavros committed Nov 15, 2017
    Configuration menu
    Copy the full SHA
    0d035dd View commit details
    Browse the repository at this point in the history
  3. Corrections in Datawriter.cpp

    - Some switch statements converted to ifs
    - Changed buffer to array when reading and writing OVF
    - Changed output_comment declaration in Method_GNEB.cpp
    smavros committed Nov 15, 2017
    Configuration menu
    Copy the full SHA
    88989c6 View commit details
    Browse the repository at this point in the history

Commits on Nov 16, 2017

  1. Configuration menu
    Copy the full SHA
    cb946a1 View commit details
    Browse the repository at this point in the history