diff --git a/src/electrophysiology/assemble/Monodomain.cpp b/src/electrophysiology/assemble/Monodomain.cpp index 0d712c795e1c0f04c25b0c37c1f31c4e64580b91..387aa72060f10e69819920a84304de951d1662f7 100644 --- a/src/electrophysiology/assemble/Monodomain.cpp +++ b/src/electrophysiology/assemble/Monodomain.cpp @@ -50,7 +50,7 @@ void Monodomain::updateExternalCurrent(const Vector &V) { } void Monodomain::SystemMatrix(const cell &c, const Vectors &VCW, Matrix &A) const { - MultiPartScalarElement E(VCW[0], *c,DomainPart(*c)); + MultiPa rtScalarElement E(VCW[0], *c,DomainPart(*c)); PartRowEntries A_c(A, E, DomainPart(*c)); Tensor S = ConductivityTensor(c); std::vector<double> vcw(M.Size()); diff --git a/tools/evaluation/utility/latexTables.py b/tools/evaluation/utility/latexTables.py index 21b8f43006b9c2ea2f6f2748b4e7c2375e918e80..753dea221fb00fabf6ca2507c2daaf736c5ba15c 100644 --- a/tools/evaluation/utility/latexTables.py +++ b/tools/evaluation/utility/latexTables.py @@ -408,6 +408,16 @@ class Table: block+='\\\\\n' block+=self.EndTabular() + return block + def writeICISVIRows(self,p,J,L,fL,nL,refname): + block = '' + (t,Ref)=read.getDataFromTXT(self.path,read.createFilename(L,J,self.m),p) + block+= '& \\multicolumn{2}{c|}{$\\|\\V^{j,\\ell}(\\cdot,'+self.getPointNamebyNumber(p,True)+')-\\V_'+refname+'^{'+str(J)+','+str(L)+'}(\\cdot,'+self.getPointNamebyNumber(p,True)+')\\|_\\Ltwonorm$}\\\\\n' + block+= '& \\multicolumn{'+str(len(fL)*len(self.lL))+'}{c}{$\\frac{\\|\\V^{j,\\ell}(\\cdot,'+self.getPointNamebyNumber(p,True)+')-\\V_'+refname+'^{'+str(J)+','+str(L)+'}(\\cdot,'+self.getPointNamebyNumber(p,True)+')\\|_\\Ltwonorm}{\\|\V^\\Ref_'+refname+'(\\cdot,'+self.getPointNamebyNumber(p,True)+')\\|_\\Ltwonorm}$}\n' + for name in nL: + block += '&'+ name + block +='\\\\\n' + return block def writeCompareRefList(self,p,J,L,fL,nL,refname = '\\Ref',divideNorm=False): block = '' @@ -1170,6 +1180,15 @@ class Table: if withToprule: block+='\\toprule\n' return block + def writeBeginSVIICITabular(self,nL): + block='' + block=self.writeBeginTable() + block+=self.writeTabelCapLab(cap,label) + block+='\\begin{tabular}{c|c' + for name in nL: + block+='|c' + block+='}\n' + return block def writeBeginSpaceAndTimeLengthTable(self,p,cap,label=''): block='' block=self.writeBeginTable()