Avoid accessing elements beyond the end of a tensor. Use the opportunity to add an assertion.
Avoid accessing elements beyond the end of a tensor. Use the opportunity to add an assertion.

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

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