Loading...
Searching...
No Matches
GeometricSymmTensorField.H File Reference

SymmTensor specific part of the implementation of GeometricField. More...

Include dependency graph for GeometricSymmTensorField.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  Foam
 Namespace for OpenFOAM.

Macros

#define TEMPLATE   template<template<class> class PatchField, class GeoMesh>

Functions

template<class Cmpt, template< class > class PatchField, class GeoMesh>
void zip (GeometricField< SymmTensor< Cmpt >, PatchField, GeoMesh > &result, const GeometricField< Cmpt, PatchField, GeoMesh > &xx, const GeometricField< Cmpt, PatchField, GeoMesh > &xy, const GeometricField< Cmpt, PatchField, GeoMesh > &xz, const GeometricField< Cmpt, PatchField, GeoMesh > &yy, const GeometricField< Cmpt, PatchField, GeoMesh > &yz, const GeometricField< Cmpt, PatchField, GeoMesh > &zz)
 Zip together symmTensor field from components.
template<class Cmpt, template< class > class PatchField, class GeoMesh>
void unzip (const GeometricField< SymmTensor< Cmpt >, PatchField, GeoMesh > &input, GeometricField< Cmpt, PatchField, GeoMesh > &xx, GeometricField< Cmpt, PatchField, GeoMesh > &xy, GeometricField< Cmpt, PatchField, GeoMesh > &xz, GeometricField< Cmpt, PatchField, GeoMesh > &yy, GeometricField< Cmpt, PatchField, GeoMesh > &yz, GeometricField< Cmpt, PatchField, GeoMesh > &zz)
 Unzip symmTensor field into components.
template<class Cmpt, template< class > class PatchField, class GeoMesh>
void zipRows (GeometricField< SymmTensor< Cmpt >, PatchField, GeoMesh > &result, const GeometricField< Vector< Cmpt >, PatchField, GeoMesh > &x, const GeometricField< Vector< Cmpt >, PatchField, GeoMesh > &y, const GeometricField< Vector< Cmpt >, PatchField, GeoMesh > &z)
 Zip together symmTensor field from row components.
template<class Cmpt, template< class > class PatchField, class GeoMesh>
void zipCols (GeometricField< SymmTensor< Cmpt >, PatchField, GeoMesh > &result, const GeometricField< Vector< Cmpt >, PatchField, GeoMesh > &x, const GeometricField< Vector< Cmpt >, PatchField, GeoMesh > &y, const GeometricField< Vector< Cmpt >, PatchField, GeoMesh > &z)
 Zip together symmTensor field from column components.
template<class Cmpt, template< class > class PatchField, class GeoMesh>
void unzipRows (const GeometricField< SymmTensor< Cmpt >, PatchField, GeoMesh > &input, GeometricField< Vector< Cmpt >, PatchField, GeoMesh > &x, GeometricField< Vector< Cmpt >, PatchField, GeoMesh > &y, GeometricField< Vector< Cmpt >, PatchField, GeoMesh > &z)
 Extract symmTensor field rows.
template<class Cmpt, template< class > class PatchField, class GeoMesh>
void unzipCols (const GeometricField< SymmTensor< Cmpt >, PatchField, GeoMesh > &input, GeometricField< Vector< Cmpt >, PatchField, GeoMesh > &x, GeometricField< Vector< Cmpt >, PatchField, GeoMesh > &y, GeometricField< Vector< Cmpt >, PatchField, GeoMesh > &z)
 Extract symmTensor field columns.
template<class Cmpt, template< class > class PatchField, class GeoMesh>
void unzipRow (const GeometricField< SymmTensor< Cmpt >, PatchField, GeoMesh > &input, const direction idx, GeometricField< Vector< Cmpt >, PatchField, GeoMesh > &result)
 Extract a symmTensor field row (x,y,z) == (0,1,2).
template<class Cmpt, template< class > class PatchField, class GeoMesh>
void unzipCol (const GeometricField< SymmTensor< Cmpt >, PatchField, GeoMesh > &input, const direction idx, GeometricField< Vector< Cmpt >, PatchField, GeoMesh > &result)
 Extract a symmTensor field column (x,y,z) == (0,1,2).
template<class Cmpt, template< class > class PatchField, class GeoMesh>
void unzipDiag (const GeometricField< SymmTensor< Cmpt >, PatchField, GeoMesh > &input, GeometricField< Vector< Cmpt >, PatchField, GeoMesh > &result)
 Extract a symmTensor field diagonal.

Detailed Description

SymmTensor specific part of the implementation of GeometricField.

Original source file GeometricSymmTensorField.H

InClass Foam::GeometricSymmTensorField

Source files

Definition in file GeometricSymmTensorField.H.

Macro Definition Documentation

◆ TEMPLATE

#define TEMPLATE   template<template<class> class PatchField, class GeoMesh>

Definition at line 40 of file GeometricSymmTensorField.H.