This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from dataclasses import dataclass | |
import shutil | |
from mpi4py import MPI | |
from petsc4py import PETSc | |
import dolfinx.fem.petsc | |
from dolfinx_external_operator import ( | |
FEMExternalOperator, | |
evaluate_external_operators, | |
evaluate_operands, |