Finite-Element Code