// Gmsh - Copyright (C) 1997-2015 C. Geuzaine, J.-F. Remacle
//
// See the LICENSE.txt file for license information. Please report all
// bugs and problems to the public mailing list <gmsh@geuz.org>.
//
// Contributor(s):
//   Eric Bechet
//

#include "STensor33.h"

void STensor33::print (const char *s) const
{
  char format[512];
  const char l[256]="%12.5E %12.5E %12.5E \n";
  sprintf (format, " tensor3 %s : \n %s %s %s \n %s %s %s \n %s %s %s \n",
           s, l,l,l, l,l,l, l,l,l);
  printf(format,s,_val[ 0],_val[ 1],_val[ 2],
                  _val[ 3],_val[ 4],_val[ 5],
                  _val[ 6],_val[ 7],_val[ 8],

                  _val[ 9],_val[10],_val[11],
                  _val[12],_val[13],_val[14],
                  _val[15],_val[16],_val[17],

                  _val[18],_val[19],_val[20],
                  _val[21],_val[22],_val[23],
                  _val[24],_val[25],_val[26]);
}
