Coder Social home page Coder Social logo

Comments (1)

TTsangSC avatar TTsangSC commented on August 14, 2024

Hi, it seems that lines 401–27 in solvation.F deals with the cavity, and the statement to write epsilon to the EPS file is usually disabled with an #ifdef debugsol clause. Hence I think you can either:

  • Rebuild VASP + VASPsol with -Ddebugsol passed to the preprocessor along with the other -D flags, hence activating the debug switch. That requires minimal change to the code itself (only to the CPP_OPTIONS in the makefile.include), but also has the side effect of always writing said EPS file, along with the adjacent KAPPA2 file. Depending on your disk space limit this may or may not be acceptable since these are all rather chonky volumetric files.

  • Patch the solvation.F source code to add your own customized logical flag, say LEPS, to the INCAR specifying whether to write the EPS file; then again rebuild VASP + VASPsol. See lines 3068–9 for an example – the RDATAB() subroutine defined in the VASP source is used to read in LRHOB flag defined by VASPsol. Since the flag only occurs and is parsed here, and doesn't otherwise interfere with other parts of VASP, I think you can safely adapt the snippet to define, read in, and manipulate arbitrary INCAR flags, provided that they don't clash with existing ones.

Unfortunately I don't think there's a way around a rebuild, which of course will require access to the VASP source code (plus some elbow grease).

from vaspsol.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.