MCPcopy Create free account
hub / github.com/DedalusProject/dedalus / __init__

Method __init__

dedalus/core/solvers.py:345–356  ·  view source on GitHub ↗
(self, problem, **kw)

Source from the content-addressed store, hash-verified

343 matrices = ['L']
344
345 def __init__(self, problem, **kw):
346 logger.debug('Beginning LBVP instantiation')
347 super().__init__(problem, **kw)
348 self.subproblem_matsolvers = {}
349 self.iteration = 0
350 # Create RHS handler
351 F_handler = self.evaluator.add_system_handler(iter=1, group='F')
352 for eq in problem.eqs:
353 F_handler.add_task(eq['F'])
354 F_handler.build_system()
355 self.F = F_handler.fields
356 logger.debug('Finished LBVP instantiation')
357
358 def print_subproblem_ranks(self, subproblems=None):
359 """Print rank of each subproblem LHS."""

Callers

nothing calls this directly

Calls 4

add_system_handlerMethod · 0.80
build_systemMethod · 0.80
__init__Method · 0.45
add_taskMethod · 0.45

Tested by

no test coverage detected