(self, problem, **kw)
| 441 | matrices = ['dF'] |
| 442 | |
| 443 | def __init__(self, problem, **kw): |
| 444 | logger.debug('Beginning NLBVP instantiation') |
| 445 | super().__init__(problem, **kw) |
| 446 | self.perturbations = problem.perturbations |
| 447 | # Copy valid modes from variables to perturbations (may have been changed after problem instantiation) |
| 448 | for pert, var in zip(problem.perturbations, problem.variables): |
| 449 | pert.valid_modes[:] = var.valid_modes |
| 450 | self.iteration = 0 |
| 451 | # Create RHS handler |
| 452 | F_handler = self.evaluator.add_system_handler(iter=1, group='F') |
| 453 | for eq in problem.eqs: |
| 454 | F_handler.add_task(eq['F']) |
| 455 | F_handler.build_system() |
| 456 | self.F = F_handler.fields |
| 457 | logger.debug('Finished NLBVP instantiation') |
| 458 | |
| 459 | def print_subproblem_ranks(self, subproblems=None): |
| 460 | """Print rank of each subproblem LHS.""" |
nothing calls this directly
no test coverage detected