Initialise a Dirichlet boundary condition. Note: Dirichlet boundary conditions should normally be constructed using :func:`fem.dirichletbc` and not using this class initialiser. This class is combined with different base classes that depend o
(self, bc)
| 106 | ) |
| 107 | |
| 108 | def __init__(self, bc): |
| 109 | """Initialise a Dirichlet boundary condition. |
| 110 | |
| 111 | Note: |
| 112 | Dirichlet boundary conditions should normally be |
| 113 | constructed using :func:`fem.dirichletbc` and not using this |
| 114 | class initialiser. This class is combined with different |
| 115 | base classes that depend on the scalar type of the boundary |
| 116 | condition. |
| 117 | |
| 118 | Args: |
| 119 | bc: C++ wrapped Dirichlet condition. |
| 120 | """ |
| 121 | self._cpp_object = bc |
| 122 | |
| 123 | @property |
| 124 | def g(self) -> Function | Constant: |
nothing calls this directly
no outgoing calls
no test coverage detected