Giter Club home page Giter Club logo

Comments (4)

BenjaminRodenberg avatar BenjaminRodenberg commented on August 12, 2024

I totally agree. Let's use the name fenicsadapter consistently. However, it might take some time until I will be able to actually apply the changes.

from fenics-adapter.

uekerman avatar uekerman commented on August 12, 2024

I guess this comes from the fact that all our repos on GitHub are called solver-adapter. This, we should also keep consistent.

But this does not mean that we need to use the same name for the "adapter object". Here, we should stick to the style of the solver. In OpenFOAM, we use preCICE_Adapter. Would this also makes sense here? preciceadapter?

from fenics-adapter.

ajaust avatar ajaust commented on August 12, 2024

I was thinking a bit more about the naming "issue" and I understand that it is hard to find a good solution that satisfies everyone. Different programming languages prefer different coding/naming styles and conventions. I guess for the Python bindings and adapter to be used in Python it makes sense to follow the pep style guide.

The main point "bothering" me when opening this issue was that

pip3 uninstall fenicsadapter

did not uninstall the module even though it is called fenicsadapter. For example, one uses it in the code via import fenicsadapter. I guess that would be easy to fix.

Regarding the future naming of the adapter and the adapter it is more tricky. I think the name of the repository is fine in general. I just wanted to mention that there are differences between the namings.

Regarding the name of Python module I don't know what makes most sense. I guess that is something you have to find out. preciceadapter could be too vague. Would it be an adapter for preCICE+Python, preCICE+FEniCS, preCICE+Nutils, preCICE+SomePythonLibrary? It could be a problem when you have adapters to more than one Python library/interface.

fenicsadapter on the other hand gives no (obvious) hint towards preCICE. So somebody reading the code without knowing about the purpose of the code fenicsadapter might be too vague again as it does not refer to preCICE in any way. However, putting fenicsadapter into Google etc. gives this repository as first result though which is nice. ;)

What would be alternatives?
Calling the bindings precice and the adapter fenicsprecice, precicefenics, precicefenicsadapter? At what point is it too long and too descriptive?

I will leave that here... so far I don't have any good answers, but maybe it helps you in some way.

from fenics-adapter.

BenjaminRodenberg avatar BenjaminRodenberg commented on August 12, 2024

So let's use fenicsadapter consistently. I will push this in a moment.

from fenics-adapter.

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.