Archives

Tuple in Python

Tuple is a type of data structure, which is a finite ordered sequence of entities or objects of different data types including numbers, strings, boolean, lists and other tuples. An $n$- tuple is typically an $n$ order tuple containing $n$ elements. Properties of tuple : Ordered – the items are defined in a definite positions […]

Read More

Data Structure of FEM in FEniCS

Storing the element connectivity, element nodes, nodal degrees of freedom etc.. are of significant importance in any numerical package which implements finite element analysis. And this constitutes the data structure of FEM. In this post, I will try to explain how FEniCS does this.

Read More