A Modern And Uni ed C + + Implementation Of Finite Element And Spectral Elements Methods In 1 D , 2 D And 3 D