Skip to content
Snippets Groups Projects
Verified Commit f906be25 authored by Marcus Mohr's avatar Marcus Mohr
Browse files

Fixes filenames in __init__.py and updates docstrings in base class

parent 584e63ab
Branches
No related tags found
1 merge request!37Split function_space_impls.py into smaller files
Pipeline #70763 passed with warnings
......@@ -16,9 +16,9 @@
__all__ = [
"function_space_impl_base",
"function_space_impl_factor",
"p0_function_space_impl",
"p1_function_space_impl",
"p2_function_space_impl",
"n1e1_function_space_impl",
"function_space_impl_factory",
"p0_space_impl",
"p1_space_impl",
"p2_space_impl",
"n1e1_space_impl",
]
......@@ -55,8 +55,8 @@ class FunctionSpaceImpl(ABC):
implementation agnostic way.
It is impossible to create an instance of this abstract base class directly.
Preferrably, use the static method `create_impl` which selects the correct
derived class for the `FunctionSpace`.
Preferrably, use `function_space_impl_factory.create_impl` which selects
the correct derived class for the `FunctionSpace`.
"""
def __init__(
......@@ -70,8 +70,8 @@ class FunctionSpaceImpl(ABC):
It is impossible to create an instance of this abstract base class
directly. This __init__ method is to be called by the derived classes.
Preferrably, use the static method `create_impl` which selects the
correct derived class for the `FunctionSpace`.
Preferrably, use `function_space_impl_factory.create_impl` which
selects the correct derived class for the `FunctionSpace`.
"""
self.fe_space = fe_space
self.name = name
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment