mirror of
https://github.com/wassname/simpeg.git
synced 2026-07-08 18:25:08 +08:00
c4229b4906
The test work for FDEM branch feat/sourceRefactor commit 9eede4e840
26 lines
621 B
Python
26 lines
621 B
Python
from simpegEM.FDEM import BaseFDEMProblem
|
|
from SurveyMT import SurveyMT
|
|
from DataMT import DataMT
|
|
from FieldsMT import FieldsMT
|
|
from SimPEG import SolverLU as SimpegSolver
|
|
|
|
class BaseMTProblem(BaseFDEMProblem):
|
|
|
|
def __init__(self, mesh, **kwargs):
|
|
BaseFDEMProblem.__init__(self, mesh, **kwargs)
|
|
|
|
# Set the default pairs of the problem
|
|
surveyPair = SurveyMT
|
|
dataPair = DataMT
|
|
fieldsPair = FieldsMT
|
|
|
|
# Set the solver
|
|
Solver = SimpegSolver
|
|
solverOpts = {}
|
|
|
|
verbose = False
|
|
# Notes:
|
|
# Use the forward and devs from BaseFDEMProblem
|
|
# Might need to add more stuff here.
|
|
|