Unify several copies of the same function into a single templated one. Saves a good amount of duplicated code.
Unify several copies of the same function into a single templated one. Saves a good amount of duplicated code.

git-svn-id: 31d9d2f6432a47c86a3640814024c107794ea77c@32708 0785d39b-7218-0410-832d-ea1e28bc413d

lue/dealii,nicolacavallini/dealii,Arezou-gh/dealii,mtezzele/dealii,maieneuro/dealii,mac-a/dealii,jperryhouts/dealii,naliboff/dealii,EGP-CIG-REU/dealii,shakirbsm/dealii,andreamola/dealii,kalj/dealii,flow123d/dealii,johntfoster/dealii,mac-a/dealii,msteigemann/dealii,andreamola/dealii,naliboff/dealii,maieneuro/dealii,lue/dealii,kalj/dealii,sairajat/dealii,flow123d/dealii,kalj/dealii,natashasharma/dealii,pesser/dealii,natashasharma/dealii,EGP-CIG-REU/dealii,mtezzele/dealii,lue/dealii,mtezzele/dealii,jperryhouts/dealii,johntfoster/dealii,ibkim11/dealii,pesser/dealii,nicolacavallini/dealii,flow123d/dealii,ibkim11/dealii,mac-a/dealii,JaeryunYim/dealii,pesser/dealii,nicolacavallini/dealii,angelrca/dealii,msteigemann/dealii,natashasharma/dealii,YongYang86/dealii,msteigemann/dealii,rrgrove6/dealii,nicolacavallini/dealii,spco/dealii,spco/dealii,adamkosik/dealii,shakirbsm/dealii,JaeryunYim/dealii,johntfoster/dealii,adamkosik/dealii,ibkim11/dealii,JaeryunYim/dealii,Arezou-gh/dealii,ibkim11/dealii,EGP-CIG-REU/dealii,mtezzele/dealii,shakirbsm/dealii,naliboff/dealii,adamkosik/dealii,lpolster/dealii,rrgrove6/dealii,lpolster/dealii,YongYang86/dealii,lue/dealii,EGP-CIG-REU/dealii,sairajat/dealii,lpolster/dealii,spco/dealii,angelrca/dealii,Arezou-gh/dealii,gpitton/dealii,ESeNonFossiIo/dealii,andreamola/dealii,YongYang86/dealii,gpitton/dealii,jperryhouts/dealii,maieneuro/dealii,msteigemann/dealii,kalj/dealii,EGP-CIG-REU/dealii,pesser/dealii,Arezou-gh/dealii,shakirbsm/dealii,mac-a/dealii,kalj/dealii,nicolacavallini/dealii,msteigemann/dealii,JaeryunYim/dealii,shakirbsm/dealii,angelrca/dealii,natashasharma/dealii,msteigemann/dealii,kalj/dealii,lpolster/dealii,msteigemann/dealii,Arezou-gh/dealii,gpitton/dealii,ESeNonFossiIo/dealii,danshapero/dealii,jperryhouts/dealii,rrgrove6/dealii,johntfoster/dealii,YongYang86/dealii,mac-a/dealii,johntfoster/dealii,EGP-CIG-REU/dealii,lue/dealii,naliboff/dealii,adamkosik/dealii,nicolacavallini/dealii,danshapero/dealii,andreamola/dealii,angelrca/dealii,kalj/dealii,flow123d/dealii,angelrca/dealii,mtezzele/dealii,sriharisundar/dealii,natashasharma/dealii,angelrca/dealii,JaeryunYim/dealii,spco/dealii,maieneuro/dealii,mac-a/dealii,naliboff/dealii,naliboff/dealii,maieneuro/dealii,natashasharma/dealii,andreamola/dealii,danshapero/dealii,lpolster/dealii,JaeryunYim/dealii,ESeNonFossiIo/dealii,EGP-CIG-REU/dealii,mac-a/dealii,sriharisundar/dealii,lue/dealii,sriharisundar/dealii,rrgrove6/dealii,gpitton/dealii,rrgrove6/dealii,lpolster/dealii,pesser/dealii,gpitton/dealii,johntfoster/dealii,andreamola/dealii,ESeNonFossiIo/dealii,jperryhouts/dealii,Arezou-gh/dealii,sriharisundar/dealii,danshapero/dealii,ESeNonFossiIo/dealii,ibkim11/dealii,andreamola/dealii,sairajat/dealii,maieneuro/dealii,rrgrove6/dealii,sairajat/dealii,natashasharma/dealii,danshapero/dealii,shakirbsm/dealii,rrgrove6/dealii,gpitton/dealii,YongYang86/dealii,mtezzele/dealii,spco/dealii,ibkim11/dealii,adamkosik/dealii,adamkosik/dealii,mtezzele/dealii,flow123d/dealii,spco/dealii,ESeNonFossiIo/dealii,flow123d/dealii,sairajat/dealii,gpitton/dealii,sriharisundar/dealii,sriharisundar/dealii,ESeNonFossiIo/dealii,YongYang86/dealii,jperryhouts/dealii,Arezou-gh/dealii,sairajat/dealii,maieneuro/dealii,YongYang86/dealii,pesser/dealii,pesser/dealii,spco/dealii,sairajat/dealii,danshapero/dealii,nicolacavallini/dealii,naliboff/dealii,shakirbsm/dealii,lpolster/dealii,JaeryunYim/dealii,danshapero/dealii,jperryhouts/dealii,lue/dealii,adamkosik/dealii,flow123d/dealii,angelrca/dealii,ibkim11/dealii,sriharisundar/dealii,johntfoster/dealii