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

C Library #89

Merged
merged 36 commits into from
Sep 12, 2023
Merged

C Library #89

merged 36 commits into from
Sep 12, 2023

Commits on Jul 7, 2023

  1. Configuration menu
    Copy the full SHA
    b1134f4 View commit details
    Browse the repository at this point in the history
  2. Update notes.

    cindytsai committed Jul 7, 2023
    Configuration menu
    Copy the full SHA
    93c2073 View commit details
    Browse the repository at this point in the history

Commits on Jul 21, 2023

  1. Build with cmake, CLion finally recognize my file.

    Bug: cannot compile with -Dxxx, which is now libyt only compiles to interactive mode.
    cindytsai committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    414e8e3 View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2023

  1. Create LibytProcessControl singleton class, which manages internal data.

    I know it is a bad practice to use singleton.
    What I'm trying to do is to make libyt a C-library and hide libyt internal data from users with minimal changes to code.
    I have plans to refactor libyt, so that it is easier to add more stuff. ()
    cindytsai committed Aug 30, 2023
    Configuration menu
    Copy the full SHA
    a82b6cc View commit details
    Browse the repository at this point in the history
  2. Adding LibytProcessControl.cpp to cmake.

    There are some bugs in CMakeLists.txt, but at least CLion recognize my project file.
    Will come back to fix this in this PR.
    cindytsai committed Aug 30, 2023
    Configuration menu
    Copy the full SHA
    0ae8c9d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1a40e2b View commit details
    Browse the repository at this point in the history

Commits on Aug 31, 2023

  1. Move field_list, particle_list, grids_local, num_grids_local_MPI into…

    … LibytProcessControl singleton.
    
    Hide libyt internal data away from user with minimal changes in source code. They are now inside LibytProcessControl singleton.
    cindytsai committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    72457c5 View commit details
    Browse the repository at this point in the history
  2. Update doc.

    cindytsai committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    46fafe2 View commit details
    Browse the repository at this point in the history

Commits on Sep 1, 2023

  1. Configuration menu
    Copy the full SHA
    4bffa10 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2f75299 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4b6c6d2 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    45cfacf View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2023

  1. Configuration menu
    Copy the full SHA
    0453752 View commit details
    Browse the repository at this point in the history
  2. Remove struct method in yt_attribute and yt_particle.

    Fix the bug of not including string.h header in example.cpp, since I have removed string.h header out of yt_type_particle.h.
    cindytsai committed Sep 5, 2023
    Configuration menu
    Copy the full SHA
    0babfb2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    065b3a0 View commit details
    Browse the repository at this point in the history
  4. Include stdbool.h if in C.

    cindytsai committed Sep 5, 2023
    Configuration menu
    Copy the full SHA
    199bc49 View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2023

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

Commits on Sep 7, 2023

  1. Update cmake.

    cindytsai committed Sep 7, 2023
    Configuration menu
    Copy the full SHA
    2f119f0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    78686ee View commit details
    Browse the repository at this point in the history
  3. Remove YT_ABORT and log_error out of yt_macro.h

    Since yt_macro.h is part of libyt API, but we don't need these two functions. It is for internal libyt usage.
    cindytsai committed Sep 7, 2023
    Configuration menu
    Copy the full SHA
    93b969d View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2023

  1. Configuration menu
    Copy the full SHA
    b356c8f View commit details
    Browse the repository at this point in the history
  2. Fix spaces, and add cxx_std_11 compiler feature.

    Though I updated cmake and it worked on my machine, I think it is not ready to merge to main, since I still cannot make it to use mpicxx or specify g++ compiler. Some designed mpicxx compiler for specific CPUs or HPC systems may crash, even though I haven't tested yet.
    cindytsai committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    c726897 View commit details
    Browse the repository at this point in the history

Commits on Sep 11, 2023

  1. Configuration menu
    Copy the full SHA
    de97d30 View commit details
    Browse the repository at this point in the history
  2. Set libyt info in libyt.libyt_info, add LIBYT_MAJOR/MINOR/MICRO_VERSI…

    …ON macro..
    
    Set version in libyt_info["version"], and other info.
    cindytsai committed Sep 11, 2023
    Configuration menu
    Copy the full SHA
    ea3f752 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    258b978 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2e54bf0 View commit details
    Browse the repository at this point in the history
  5. Fix typo.

    cindytsai committed Sep 11, 2023
    Configuration menu
    Copy the full SHA
    99f727a View commit details
    Browse the repository at this point in the history
  6. Fix typo.

    cindytsai committed Sep 11, 2023
    Configuration menu
    Copy the full SHA
    d47e7d1 View commit details
    Browse the repository at this point in the history
  7. Fix white spaces.

    cindytsai committed Sep 11, 2023
    Configuration menu
    Copy the full SHA
    eeecfd7 View commit details
    Browse the repository at this point in the history
  8. Trying to fix deprecate warning in github action.

    blablabla about replacing node12 with node16.
    cindytsai committed Sep 11, 2023
    Configuration menu
    Copy the full SHA
    1da9f53 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    b69778b View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    303f289 View commit details
    Browse the repository at this point in the history
  11. GitHub alert Vulnerability.

    cindytsai committed Sep 11, 2023
    Configuration menu
    Copy the full SHA
    60ee33a View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    1b4b11c View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    9291553 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    e205aa0 View commit details
    Browse the repository at this point in the history