fedoo.core.base.ProblemBase

class ProblemBase(name='', space=None)

Base class for defining Problems.

All problem objects are derived from the ProblemBase class.

__init__(name='', space=None)

Methods

ProblemBase.add_global_dof(variable_names[, ...])

Add global degrees of freedom to the problem.

ProblemBase.get_active()

Return the active Problem.

ProblemBase.get_all()

Return the list of all problems.

ProblemBase.make_active()

Define the problem instance as the active Problem.

ProblemBase.set_active(name)

Define the active Problem from its name.

ProblemBase.set_solver([solver])

Define the solver for the linear system resolution.

ProblemBase.active

ProblemBase.global_dof

ProblemBase.n_global_dof

ProblemBase.name

Return the name of the Problem.

ProblemBase.solver

Return the current solver used for the problem.

ProblemBase.space

Return the ModelingSpace associated to the Problem if defined.

ProblemBase.bc

Boundary conditions defined on the problem.