pde.base Module

Provides the base class for all pde objects.

class pysofe.pde.base.PDE(fe_space, bc)[source]

Base class for all partial differential equations.

Parameters:
  • fe_space (pysofe.spaces.space.FESpace) – The function space of the pde
  • bc (pysofe.pde.conditions.BoundaryCondition, iterable) – The boundary condition(s)
assemble()[source]

Assembles all discrete operators that are part of the pde.

apply_conditions()[source]

Applies the boundary conditions to the stiffness matrix and load vector.

solve()[source]

Solves the partial differential equation.