MeshBase

class pysit.core.MeshBase[source]

Bases: object

Base Class for Pysit mesh objects

Attributes Summary

type String describing the type of mesh, e.g., structured.

Methods Summary

dof(self, \*args, \*\*kwargs) Returns number of degrees of freedom.
edges(self, \*args, \*\*kwargs)
inner_product(self, arg1, arg2) Implements inner product on the mesh, accounts for scaling.
nodes(self, \*args, \*\*kwargs) Returns a position of mesh nodes as an self.dof() X self.dim array.
shape(self, \*args, \*\*kwargs) Returns the shape of the mesh.

Attributes Documentation

type

String describing the type of mesh, e.g., structured.

Methods Documentation

dof(self, *args, **kwargs)[source]

Returns number of degrees of freedom.

edges(self, *args, **kwargs)[source]
inner_product(self, arg1, arg2)[source]

Implements inner product on the mesh, accounts for scaling.

nodes(self, *args, **kwargs)[source]

Returns a position of mesh nodes as an self.dof() X self.dim array.

shape(self, *args, **kwargs)[source]

Returns the shape of the mesh.