This repository was archived by the owner on Sep 27, 2021. It is now read-only.
re: added lagrange multiplier based optimization for pressure and die…#199
Closed
moradza wants to merge 1 commit intovotca:masterfrom
moradza:master
Closed
re: added lagrange multiplier based optimization for pressure and die…#199moradza wants to merge 1 commit intovotca:masterfrom moradza:master
moradza wants to merge 1 commit intovotca:masterfrom
moradza:master
Conversation
…lectric permittivity
junghans
suggested changes
Dec 14, 2016
Member
junghans
left a comment
There was a problem hiding this comment.
You have seemed to use some older version of the source, please merge your changes with latest master first!
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| * See the License for the specific language governing permissions and | ||
| * limitations under the License. | ||
| * Author: sikandar |
| * See the License for the specific language governing permissions and | ||
| * limitations under the License. | ||
| * | ||
| */ |
| * distributed under the License is distributed on an "AS IS" BASIS, | ||
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| * See the License for the specific language governing permissions and | ||
| * limitations under the License. |
| die "${0##*/}: Pressure was nan, check your simulation (this usually means system has blow up -> use pre simulation)" | ||
|
|
||
| echo "Pressure=${p_now}" > "$1" | ||
| echo "${p_now}" > "$1" |
| #! /bin/bash | ||
| # | ||
| # Copyright 2009-2016 The VOTCA Development Team (http://www.votca.org) | ||
| # Copyright 2009-2011 The VOTCA Development Team (http://www.votca.org) |
| #support for older mdp file, cutoff-scheme = Verlet is default for Gromacs 5.0, but does not work with tabulated interactions | ||
| #XXX is returned if cutoff-scheme is not in mdp file | ||
| if [[ $(get_simulation_setting cutoff-scheme XXX) = XXX ]]; then | ||
| if [[ $(critical ${grompp[@]} -h 2>&1) = *"VERSION 5."[01]* && $(get_simulation_setting cutoff-scheme XXX) = XXX ]]; then |
| mdrun_opts+=" -tableb${tables}" | ||
| fi | ||
| fi | ||
|
|
| else | ||
| msg --color blue --to-stderr "Appending -nsteps ${CSG_MDRUN_STEPS} to mdrun options" | ||
| mdrun_opts+=" -nsteps $CSG_MDRUN_STEPS" | ||
| fi |
| @@ -1,5 +1,91 @@ | |||
| #! /bin/bash | |||
| # | |||
| # Copyright 2009-2015 The VOTCA Development Team (http://www.votca.org) | |||
| if [[ ${CSG_RUNTEST} ]] && csg_calc "$first_frame" ">" "0"; then | ||
| msg --color blue --to-stderr "Automatically setting first_frame to 0, because CSG_RUNTEST was set" | ||
| first_frame=0 | ||
| fi |
Member
|
To make tests pass:
|
Author
Member
|
ping @moradza / @symashayak |
Member
|
Closed due to inactivity! |
Member
|
The code is here: https://github.com/moradza/VOTCA_CRE |
This file contains hidden or 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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
re: added lagrange multiplier based optimization for pressure and dielectric permittivity