-
Notifications
You must be signed in to change notification settings - Fork 1
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
updated .gitignore #1
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jmpplan
approved these changes
Mar 3, 2021
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@@ -30,3 +30,6 @@ | |||
*.exe | |||
*.out | |||
*.app | |||
|
|||
# IDE | |||
*.vscode |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good idea !
jmpplan
added a commit
that referenced
this pull request
Oct 8, 2023
- new vector KSIM_POSXK_REV[] containing the reverse of KSIM_POSXK[] to accelerate the process of retrieving the position of an equation in the model (for NEMESIS, reduces the SCC by a factor 300!) - KE_findpath(): assignation of KSIM_POSXK_REV[i] when KSIM_POSXK is modified api/simulation/k_sim_main.c: - new vector KSIM_POSXK_REV containing the reverse position of the equations - new vector KSIM_CPUS containing the CPU time for each simulated period - K_simul(): - initialize KSIM_POSXK_REV - alloc KSIM_NORMS, KSIM_NITERS and KSIM_CPUS - calc KSIM_POSXK_REV in the link loop - Fixed #330: in exchange endo-exo, if one of the vars does not exist, a message is provided and the function returns (and IODE does not crash anymore). - calc and store KSIM_CPUS[t] for each period - K_simul_free(): frees KSIM_POSXK_REV - K_simul_1(): - initialize KSIM_CPUS[t] - added CPU in the iteration messages - K_simul(): fixed #1. In exchange endo-exo, if one of the vars does not exist, a message is provided (and IODE does not crash anymore). api/k_sim_order.c: - new globals KSIM_CPU_SCC and KSIM_CPU_SORT - KE_order(): - the message "sorting equations" is split in 2 steps: "Calculating SCC..." and "Reordering interdependent block...". The CPU is provided for each separated step and saved in KSIM_CPU_SORT and KSIM_CPU_SCC - KE_poseq(): - use of KSIM_POSXK_REV containing the reverse position of the equations to (radically) accelerate the function - if posendo < 0 (ex in KE_ModelCalcSCC()), return(-1) - KE_tri(): save the elapsed time (not really CPU) in KSIM_CPU_SORT api/k_sim_scc.c: - KE_ModelCalcSCC(): new variable KSIM_POSXK_REV to store reverse positions of endogenous variables
jmpplan
added a commit
that referenced
this pull request
Oct 12, 2023
- new vector KSIM_POSXK_REV[] containing the reverse of KSIM_POSXK[] to accelerate the process of retrieving the position of an equation in the model (for NEMESIS, reduces the SCC by a factor 300!) - KE_findpath(): assignation of KSIM_POSXK_REV[i] when KSIM_POSXK is modified api/simulation/k_sim_main.c: - new vector KSIM_POSXK_REV containing the reverse position of the equations - new vector KSIM_CPUS containing the CPU time for each simulated period - K_simul(): - initialize KSIM_POSXK_REV - alloc KSIM_NORMS, KSIM_NITERS and KSIM_CPUS - calc KSIM_POSXK_REV in the link loop - Fixed #330: in exchange endo-exo, if one of the vars does not exist, a message is provided and the function returns (and IODE does not crash anymore). - calc and store KSIM_CPUS[t] for each period - K_simul_free(): frees KSIM_POSXK_REV - K_simul_1(): - initialize KSIM_CPUS[t] - added CPU in the iteration messages - K_simul(): fixed #1. In exchange endo-exo, if one of the vars does not exist, a message is provided (and IODE does not crash anymore). api/k_sim_order.c: - new globals KSIM_CPU_SCC and KSIM_CPU_SORT - KE_order(): - the message "sorting equations" is split in 2 steps: "Calculating SCC..." and "Reordering interdependent block...". The CPU is provided for each separated step and saved in KSIM_CPU_SORT and KSIM_CPU_SCC - KE_poseq(): - use of KSIM_POSXK_REV containing the reverse position of the equations to (radically) accelerate the function - if posendo < 0 (ex in KE_ModelCalcSCC()), return(-1) - KE_tri(): save the elapsed time (not really CPU) in KSIM_CPU_SORT api/k_sim_scc.c: - KE_ModelCalcSCC(): new variable KSIM_POSXK_REV to store reverse positions of endogenous variables
jmpplan
added a commit
that referenced
this pull request
Oct 15, 2023
- new vector KSIM_POSXK_REV[] containing the reverse of KSIM_POSXK[] to accelerate the process of retrieving the position of an equation in the model (for NEMESIS, reduces the SCC by a factor 300!) - KE_findpath(): assignation of KSIM_POSXK_REV[i] when KSIM_POSXK is modified api/simulation/k_sim_main.c: - new vector KSIM_POSXK_REV containing the reverse position of the equations - new vector KSIM_CPUS containing the CPU time for each simulated period - K_simul(): - initialize KSIM_POSXK_REV - alloc KSIM_NORMS, KSIM_NITERS and KSIM_CPUS - calc KSIM_POSXK_REV in the link loop - Fixed #330: in exchange endo-exo, if one of the vars does not exist, a message is provided and the function returns (and IODE does not crash anymore). - calc and store KSIM_CPUS[t] for each period - K_simul_free(): frees KSIM_POSXK_REV - K_simul_1(): - initialize KSIM_CPUS[t] - added CPU in the iteration messages - K_simul(): fixed #1. In exchange endo-exo, if one of the vars does not exist, a message is provided (and IODE does not crash anymore). api/k_sim_order.c: - new globals KSIM_CPU_SCC and KSIM_CPU_SORT - KE_order(): - the message "sorting equations" is split in 2 steps: "Calculating SCC..." and "Reordering interdependent block...". The CPU is provided for each separated step and saved in KSIM_CPU_SORT and KSIM_CPU_SCC - KE_poseq(): - use of KSIM_POSXK_REV containing the reverse position of the equations to (radically) accelerate the function - if posendo < 0 (ex in KE_ModelCalcSCC()), return(-1) - KE_tri(): save the elapsed time (not really CPU) in KSIM_CPU_SORT api/k_sim_scc.c: - KE_ModelCalcSCC(): new variable KSIM_POSXK_REV to store reverse positions of endogenous variables
jmpplan
added a commit
that referenced
this pull request
Oct 17, 2023
- new vector KSIM_POSXK_REV[] containing the reverse of KSIM_POSXK[] to accelerate the process of retrieving the position of an equation in the model (for NEMESIS, reduces the SCC by a factor 300!) - KE_findpath(): assignation of KSIM_POSXK_REV[i] when KSIM_POSXK is modified api/simulation/k_sim_main.c: - new vector KSIM_POSXK_REV containing the reverse position of the equations - new vector KSIM_CPUS containing the CPU time for each simulated period - K_simul(): - initialize KSIM_POSXK_REV - alloc KSIM_NORMS, KSIM_NITERS and KSIM_CPUS - calc KSIM_POSXK_REV in the link loop - Fixed #330: in exchange endo-exo, if one of the vars does not exist, a message is provided and the function returns (and IODE does not crash anymore). - calc and store KSIM_CPUS[t] for each period - K_simul_free(): frees KSIM_POSXK_REV - K_simul_1(): - initialize KSIM_CPUS[t] - added CPU in the iteration messages - K_simul(): fixed #1. In exchange endo-exo, if one of the vars does not exist, a message is provided (and IODE does not crash anymore). api/k_sim_order.c: - new globals KSIM_CPU_SCC and KSIM_CPU_SORT - KE_order(): - the message "sorting equations" is split in 2 steps: "Calculating SCC..." and "Reordering interdependent block...". The CPU is provided for each separated step and saved in KSIM_CPU_SORT and KSIM_CPU_SCC - KE_poseq(): - use of KSIM_POSXK_REV containing the reverse position of the equations to (radically) accelerate the function - if posendo < 0 (ex in KE_ModelCalcSCC()), return(-1) - KE_tri(): save the elapsed time (not really CPU) in KSIM_CPU_SORT api/k_sim_scc.c: - KE_ModelCalcSCC(): new variable KSIM_POSXK_REV to store reverse positions of endogenous variables
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.