Code Monkey home page Code Monkey logo

fetk's Introduction

FETK-1.5_APBS

Welcome to a modified version of the FETK (The Finite Element Toolkit).

The reason that this exists is to deal with issues that we've discovered in the FETK. The FETK is open source software (see http://www.fetk.org), and yet it's not hosted in a manner that is conducive to forking and merge requests. At least not to our knowledge. Therefore we have created this "fork" until a more permanent solution presents itself.

In this file is a list of the changes that were made to the FETK, by library, file, function, and line number, along with a brief description of why the change was made. I have taken great pains to comment each modification in the code, describing the purpose for each update. I have also prefaced each comment with "APBS-KTS", so that they may be easily located.

MALOC

Spurious errors are emitted under all circumstances because APBS code uses MALOC's scanf, and expects it to hand back results until there are no more tokens. MALOC's version of scanf however prints error messages when it hits the end of the input. I changed it so that it notices EOF, it reports it thusly, and doesn't spew dumb messages.

  • vio.c, "initialization", 103: Added an error field to the ASC struct to track EOF.
  • vio.c, Vio_scanf, 1473-1480: Check the above error field to see if we are here because of an EOF. If that's the case then just silently continue. Otherwise, print the error because something really did go wrong.
  • vio.c, ascmem_create, 1918: Initialize the error field to 0.
  • vio.c, ascmem_destroy, 1938: Reset the error field to 0.
  • vio.c, asc_getToken, 2159-2163: Commentary on the function.
  • vio.c, asc_getToken, 2199-2205: More commentary.
  • vio.c, asc_getToken, 2229-2236: Commented out a bug/unnecessary line of code; with explanation.
  • vio.c, asc_getToken, 2248-2254: Remove unnecessary error message and set error field to EOF.

fetk's People

Contributors

keith923 avatar kozlac avatar

Watchers

James Cloos avatar Alexey Strokach avatar

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.