mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Changed the function name "cofactors" to "cof" and propagated the function
through the field algebra.
This commit is contained in:
@ -125,6 +125,17 @@ dimensionedScalar det(const dimensionedSymmTensor& dt)
|
||||
}
|
||||
|
||||
|
||||
dimensionedSymmTensor cof(const dimensionedSymmTensor& dt)
|
||||
{
|
||||
return dimensionedSymmTensor
|
||||
(
|
||||
"cof("+dt.name()+')',
|
||||
dt.dimensions(),
|
||||
cof(dt.value())
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
dimensionedSymmTensor inv(const dimensionedSymmTensor& dt)
|
||||
{
|
||||
return dimensionedSymmTensor
|
||||
|
||||
@ -59,6 +59,7 @@ dimensionedSymmTensor twoSymm(const dimensionedSymmTensor&);
|
||||
dimensionedSymmTensor dev(const dimensionedSymmTensor&);
|
||||
dimensionedSymmTensor dev2(const dimensionedSymmTensor&);
|
||||
dimensionedScalar det(const dimensionedSymmTensor&);
|
||||
dimensionedSymmTensor cof(const dimensionedSymmTensor&);
|
||||
dimensionedSymmTensor inv(const dimensionedSymmTensor&);
|
||||
|
||||
|
||||
|
||||
@ -92,6 +92,17 @@ dimensionedScalar det(const dimensionedTensor& dt)
|
||||
}
|
||||
|
||||
|
||||
dimensionedTensor cof(const dimensionedTensor& dt)
|
||||
{
|
||||
return dimensionedTensor
|
||||
(
|
||||
"cof("+dt.name()+')',
|
||||
dt.dimensions(),
|
||||
cof(dt.value())
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
dimensionedTensor inv(const dimensionedTensor& dt)
|
||||
{
|
||||
return dimensionedTensor
|
||||
|
||||
@ -56,6 +56,7 @@ dimensionedScalar tr(const dimensionedTensor&);
|
||||
dimensionedTensor dev(const dimensionedTensor&);
|
||||
dimensionedTensor dev2(const dimensionedTensor&);
|
||||
dimensionedScalar det(const dimensionedTensor&);
|
||||
dimensionedTensor cof(const dimensionedTensor&);
|
||||
dimensionedTensor inv(const dimensionedTensor&);
|
||||
dimensionedSymmTensor symm(const dimensionedTensor&);
|
||||
dimensionedSymmTensor twoSymm(const dimensionedTensor&);
|
||||
|
||||
Reference in New Issue
Block a user