vtk.addVolumeVariable([](constVolumeVariables&v){returnthis->perm_(v.permeability())[0][0];},"Kxx");//TODO: get correct permeability from where? add perm_ function in private?
if(dim>=2)
vtk.addVolumeVariable([](constVolumeVariables&v){returnthis->perm_(v.permeability())[1][1];},"Kyy");//TODO: get correct permeability from where? add perm_ function in private?
if(dim>=3)
vtk.addVolumeVariable([](constVolumeVariables&v){returnthis->perm_(v.permeability())[2][2];},"Kzz");//TODO: get correct permeability from where? add perm_ function in private?