def initialize(self,evaluation_points=None): self._evaluation_points = evaluation_points self._space = _bempplib.createRaviartThomas0VectorSpace(self._context,self._grid) self._identity = _bempplib.createMaxwell3dIdentityOperator(self._context,self._space,self._space,self._space).weakForm() if self._operator_cache: self._boundary_operator_cache = _tools.OperatorCache(self._operator_cache_tol) self._potential_operator_cache = _tools.OperatorCache(self._operator_cache_tol)
def initialize(self,evaluation_points=None): if evaluation_points is not None: self._evaluation_points = evaluation_points self._inside = _bempplib.areInside(self._grid,evaluation_points) self._outside = _np.logical_not(self._inside) self._space = _bempplib.createRaviartThomas0VectorSpace(self._context,self._grid) if self._operator_cache: self._boundary_operator_cache = _tools.OperatorCache(self._operator_cache_tol) self._potential_operator_cache = _tools.OperatorCache(self._operator_cache_tol)