Galerkin Finite Element Method
If a variational principle exists, the Galerkin method is the same as the variational method.
The same finite elements can be used.
Now the residual is made orthogonal to each basis function; this applies when there is no integral to be minimized or made stationary.