Giter Club home page Giter Club logo

costa's People

Contributors

akva2 avatar keileg avatar thebb avatar vikingscientist avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

costa's Issues

How to pass a problem definition?

In the API, how is the problem definition communicated? I am thinking of specification of the governing equation, domain geometry, possibly grid specification, and parameter definition. On a conceptual level, this can either be decided up front (and passed to the init of solver), or passed as a Parameter to the several methods. The former option will imply that the API in a certain sense is incomplete, while under the latter, reuse of discretization under subsequent calls will require checks that the problem parameters have not changed.

Related, have you decided on a format on specifying the problem, or is the plan to build a protocol for this as we move along?

Add license

A lisence should be set before the package is mentioned in publications.

Method anasol missing from API for PhysicsModel

``In the IOT physical model, the physics based model is assumed to have a function anasol

state = pbm.anasol(params)['primary']

This is however not specified in API for PhysicsModels

class PhysicsModel(ABC):

I tried to find the implied method signature from the IFEM repository, but got lost in the class structure in that repo. Is it correct that the method implements something like

def anasol(params: Dict[str, Union[float, List[float]]]) -> Dict[str, np.ndarray]):
    return {'primary': np.ndarray([values_given_information_from_params])

Method dirichlet_dofs in API

@TheBB The method dirichlet_dofs() in the API is presumably aimed at finite element discretizations. For a cell centered finite volume discretization, where boundary conditions are discretized differently (in a certain sense) from interior dofs, it is not meaningful to ask for Dirichlet dofs. In such cases, should the method simply return an empty list?

`cached_property` only works for python >3.8

Traceback (most recent call last):
  File "test/ifem-heateqn/test.py", line 4, in <module>
    from Costa.runner import Timestepper
  File "/home/kjetijo/Projects/CoSTA/Costa/runner.py", line 1, in <module>
    from functools import cached_property
ImportError: cannot import name 'cached_property' from 'functools' (/usr/lib/python3.7/functools.py)

From another issue it is pointed out that this is unsupported on python 3.7.

Commenting out the import and single line where it is used does make it run on older python versions.

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.