gmsh-TingyuanDoc  0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
STensor33.cpp
Go to the documentation of this file.
1 // Gmsh - Copyright (C) 1997-2022 C. Geuzaine, J.-F. Remacle
2 //
3 // See the LICENSE.txt file in the Gmsh root directory for license information.
4 // Please report all issues on https://gitlab.onelab.info/gmsh/gmsh/issues.
5 //
6 // Contributor(s):
7 // Eric Bechet
8 //
9 
10 #include "STensor33.h"
11 
12 void STensor33::print(const char *s) const
13 {
14  char format[2048];
15  const char l[128] = "%12.5E %12.5E %12.5E \n";
16  sprintf(format, " tensor3 %s : \n %s %s %s \n %s %s %s \n %s %s %s \n", s, l,
17  l, l, l, l, l, l, l, l);
18  printf(format, s, _val[0], _val[1], _val[2], _val[3], _val[4], _val[5],
19  _val[6], _val[7], _val[8],
20 
21  _val[9], _val[10], _val[11], _val[12], _val[13], _val[14], _val[15],
22  _val[16], _val[17],
23 
24  _val[18], _val[19], _val[20], _val[21], _val[22], _val[23], _val[24],
25  _val[25], _val[26]);
26 }
STensor33::print
void print(const char *) const
Definition: STensor33.cpp:12
STensor33::_val
double _val[27]
Definition: STensor33.h:22
STensor33.h