StructuredDirichlet

class pysit.core.mesh.StructuredDirichlet(mesh, domain_bc, dim, side, *args, **kwargs)[source]

Bases: pysit.core.mesh.StructuredBCBase

Specification of the Dirichlet boundary condition on structured meshes.

Parameters:
mesh : subclass of pysit.core.mesh.MeshBase
domain_bc : subclass of pysit.core.domain.DomainBC
dim : int

Dimension number of the boundary condition. See Note 1.

side : {‘left’, ‘right’}

Side of the domain that the boundary condition applies to.

Notes

  1. dim is the dimension number corresponding to x, y, or z, not the spatial dimension that the problem lives in.

Attributes Summary

boundary_type The physical type of boundary condition.
type The type of discrete implementation of the boundary condition.

Attributes Documentation

boundary_type

The physical type of boundary condition.

type

The type of discrete implementation of the boundary condition.