erdc / proteus

A computational methods and simulation toolkit
http://proteustoolkit.org
MIT License
88 stars 56 forks source link

Plugged ArgumentsDict into RANS2P #1156

Closed JohanMabille closed 4 years ago

JohanMabille commented 4 years ago

Mandatory Checklist

Please ensure that the following criteria are met:

As a general rule of thumb, try to follow PEP8 guidelines.

Description

JohanMabille commented 4 years ago

The methods "getTwoPhasesXXX" are never called in the Python file.

cekees commented 4 years ago

The methods "getTwoPhasesXXX" are never called in the Python file.

They're called in the solvers: https://github.com/erdc/proteus/blob/master/proteus/LinearSolvers.py#L3482

Once you finish this, I may look at creating a separate class for those functions, but for now I'd like to leave them there.

JohanMabille commented 4 years ago

Thanks for the pointer, I need to fix the linear solvers then.

JohanMabille commented 4 years ago

Theoretically it should, since it is where the python interface of arguments_dict is defined. I can make a pass on setup.py to clean it once we're done with the migration.

cekees commented 4 years ago

Made these changes and fixed other issues in #1163

JohanMabille commented 4 years ago

Thanks! I will go on with the remaining files tonight.