Hi everyone,
I am new to fenics and have the following question.
What is the difference between “from dolfin import *” and “from fenics import *”?
One would expect that the same classes will be imported or there is a difference?
Thanks
Hi everyone,
I am new to fenics and have the following question.
What is the difference between “from dolfin import *” and “from fenics import *”?
One would expect that the same classes will be imported or there is a difference?
Thanks
You can check the file associated with a module via
import fenics
print(fenics.__file__)
The contents of the corresponding file is just
# -*- coding: utf-8 -*-
"""Main module for FEniCS.
This module is identical with the main DOLFIN module.
"""
from dolfin import *
So, there is no real difference.
Thanks for the explanation!