coneoproject / COFFEE

COFFEE - A COmpiler For Fast Expression Evaluation
Other
9 stars 6 forks source link

Interface clean-up #78

Closed FabioLuporini closed 8 years ago

FabioLuporini commented 8 years ago

Straightforward refactoring.

1- Move stuff from plan.py which are not really part of the plan to a different module (system.py) 2- Logging now occurs through a separate module. It's a very basic logging infrastructure, which we might even drop once we centralise the one currently used in PyOP2. But it works for now.

Overall, the quality of the codebase improves

Because of point 1 above, this PR depends on PR 490 in PyOP2

FabioLuporini commented 8 years ago

Now one can disable COFFEE logging in any point of a Firedrake program by simply doing e.g.

from coffee.logger import set_log_noperf set_log_noperf()

FabioLuporini commented 8 years ago

Now use Python's logging module

FabioLuporini commented 8 years ago

Minor fixes pushed

FabioLuporini commented 8 years ago

I think this should just be merged