Home
Downloads
Documentation
Installation
User Guide
man-pages
API Documentation
README
Release Notes
Changes
License
Support
SourceForge Project
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
src
OpenFOAM
fields
GeometricFields
GeometricTensorField
GeometricTensorField.H
Go to the documentation of this file.
1
/*---------------------------------------------------------------------------*\
2
========= |
3
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
4
\\ / O peration |
5
\\ / A nd | Copyright (C) 1991-2011 OpenCFD Ltd.
6
\\/ M anipulation |
7
-------------------------------------------------------------------------------
8
License
9
This file is part of OpenFOAM.
10
11
OpenFOAM is free software: you can redistribute it and/or modify it
12
under the terms of the GNU General Public License as published by
13
the Free Software Foundation, either version 3 of the License, or
14
(at your option) any later version.
15
16
OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
17
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
18
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
19
for more details.
20
21
You should have received a copy of the GNU General Public License
22
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
23
24
InClass
25
Foam::GeometricTensorField
26
27
Description
28
Tensor specific part of the implementation of GeometricField.
29
30
SourceFiles
31
GeometricTensorField.C
32
33
\*---------------------------------------------------------------------------*/
34
35
#ifndef GeometricTensorField_H
36
#define GeometricTensorField_H
37
38
#include <
OpenFOAM/GeometricSphericalTensorField.H
>
39
#include <
OpenFOAM/GeometricSymmTensorField.H
>
40
#include <
OpenFOAM/DimensionedTensorField.H
>
41
42
#define TEMPLATE template<template<class> class PatchField, class GeoMesh>
43
#include <
OpenFOAM/GeometricFieldFunctionsM.H
>
44
45
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
46
47
namespace
Foam
48
{
49
50
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
51
52
UNARY_FUNCTION
(scalar,
tensor
,
tr
,
transform
)
53
UNARY_FUNCTION
(
sphericalTensor
,
tensor
,
sph
,
transform
)
54
UNARY_FUNCTION
(
symmTensor
,
tensor
,
symm
,
transform
)
55
UNARY_FUNCTION
(
symmTensor
,
tensor
,
twoSymm
,
transform
)
56
UNARY_FUNCTION
(
tensor
,
tensor
,
skew
,
transform
)
57
UNARY_FUNCTION
(
tensor
,
tensor
,
dev
,
transform
)
58
UNARY_FUNCTION
(
tensor
,
tensor
,
dev2
,
transform
)
59
UNARY_FUNCTION
(scalar,
tensor
,
det
,
transform
)
60
UNARY_FUNCTION
(
tensor
,
tensor
,
cof
,
cof
)
61
UNARY_FUNCTION
(
tensor
,
tensor
,
inv
,
inv
)
62
UNARY_FUNCTION
(
vector
,
tensor
,
eigenValues
,
transform
)
63
UNARY_FUNCTION
(
tensor
,
tensor
,
eigenVectors
,
sign
)
64
65
UNARY_FUNCTION
(
vector
,
symmTensor
,
eigenValues
,
transform
)
66
UNARY_FUNCTION
(
symmTensor
,
symmTensor
,
eigenVectors
,
sign
)
67
68
69
// * * * * * * * * * * * * * * * global operators * * * * * * * * * * * * * //
70
71
UNARY_OPERATOR
(
vector
,
tensor
, *,
hdual
,
transform
)
72
UNARY_OPERATOR
(
tensor
,
vector
, *,
hdual
,
transform
)
73
74
BINARY_OPERATOR
(
vector
,
vector
,
tensor
, /,
'|'
,
divide
)
75
BINARY_TYPE_OPERATOR
(
vector
,
vector
,
tensor
, /,
'|'
,
divide
)
76
77
78
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
79
80
}
// End namespace Foam
81
82
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
83
84
#include <
OpenFOAM/undefFieldFunctionsM.H
>
85
86
#ifdef NoRepository
87
# include <
OpenFOAM/GeometricTensorField.C
>
88
#endif
89
90
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
91
92
#endif
93
94
// ************************ vim: set sw=4 sts=4 et: ************************ //