Remove trailing whitespace systematically
[foam-extend-3.2.git] / src / foam / primitives / SymmTensor4thOrder / symmTensor4thOrder / symmTensor4thOrder.C
blob17475b1426bc571d2878421ac76c981b793e9d76
1 /*---------------------------------------------------------------------------*\
2   =========                 |
3   \\      /  F ield         | foam-extend: Open Source CFD
4    \\    /   O peration     |
5     \\  /    A nd           | For copyright notice see file Copyright
6      \\/     M anipulation  |
7 -------------------------------------------------------------------------------
8 License
9     This file is part of foam-extend.
11     foam-extend is free software: you can redistribute it and/or modify it
12     under the terms of the GNU General Public License as published by the
13     Free Software Foundation, either version 3 of the License, or (at your
14     option) any later version.
16     foam-extend is distributed in the hope that it will be useful, but
17     WITHOUT ANY WARRANTY; without even the implied warranty of
18     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
19     General Public License for more details.
21     You should have received a copy of the GNU General Public License
22     along with foam-extend.  If not, see <http://www.gnu.org/licenses/>.
24 \*---------------------------------------------------------------------------*/
26 #include "symmTensor4thOrder.H"
28 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
30 namespace Foam
33 // * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
35 template<>
36 const char* const symmTensor4thOrder::typeName = "symmTensor4thOrder";
38 template<>
39 const char* symmTensor4thOrder::componentNames[] =
41     "xxxx", "xxyy", "xxzz",
42             "yyyy", "yyzz",
43                     "zzzz",
44                            "xyxy",
45                                   "yzyz",
46                                          "zxzx"
49 template<>
50 const symmTensor4thOrder symmTensor4thOrder::zero
52     0, 0, 0,
53        0, 0,
54           0,
55             0,
56               0,
57                 0
60 template<>
61 const symmTensor4thOrder symmTensor4thOrder::one
63     1, 1, 1,
64        1, 1,
65           1,
66             1,
67               1,
68                 1
71 template<>
72 const symmTensor4thOrder symmTensor4thOrder::max
74     VGREAT, VGREAT, VGREAT,
75             VGREAT, VGREAT,
76                     VGREAT,
77                            VGREAT,
78                                   VGREAT,
79                                          VGREAT
82 template<>
83 const symmTensor4thOrder symmTensor4thOrder::min
85     -VGREAT, -VGREAT, -VGREAT,
86              -VGREAT, -VGREAT,
87                       -VGREAT,
88                               -VGREAT,
89                                       -VGREAT,
90                                               -VGREAT
94 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
96 } // End namespace Foam
98 // ************************************************************************* //