|
|
|
coordinateSystem Class ReferenceA cartesian coordinate system and the base class for other coordinate system specifications. More...
Inheritance diagram for coordinateSystem:
![]()
Collaboration diagram for coordinateSystem:
![]()
Detailed DescriptionA cartesian coordinate system and the base class for other coordinate system specifications.All systems are defined by an origin point and a coordinateRotation. For convenience, the dictionary constructor forms allow a few shortcuts:
flipped
{
origin (0 0 0);
coordinateRotation
{
type STARCDRotation;
rotation (0 0 90);
}
}
flipped // the same, specified as axes
{
origin (0 0 0);
coordinateRotation
{
type axes;
e3 (1 0 0);
e1 (0 0 -1);
}
}
flipped // the same, using all the shortcuts
{
e3 (1 0 0);
e1 (0 0 -1);
}
1
(
cat1
{
coordinateSystem
{
origin (0 0 0);
coordinateRotation
{
type STARCDRotation;
rotation (0 0 90);
}
}
porosity 0.781;
Darcy
{
d d [0 -2 0 0 0] (-1000 -1000 0.50753e+08);
f f [0 -1 0 0 0] (-1000 -1000 12.83);
}
}
)
1
(
cat1
{
coordinateSystem system_10;
porosity 0.781;
Darcy
{
d d [0 -2 0 0 0] (-1000 -1000 0.50753e+08);
f f [0 -1 0 0 0] (-1000 -1000 12.83);
}
}
)
Definition at line 143 of file coordinateSystem.H. Constructor & Destructor Documentation
Construct null. This is equivalent to an identity coordinateSystem.
Definition at line 34 of file coordinateSystem.C. References Foam::defineRunTimeSelectionTable(), and Foam::defineTypeNameAndDebug(). Referenced by coordinateSystem::New().
Here is the call graph for this function:
![]()
Here is the caller graph for this function:
![]()
Construct from dictionary (default name). With the ability to reference global coordinateSystems Definition at line 121 of file coordinateSystem.C.
Construct from Istream. The Istream contains a word followed by a dictionary Definition at line 174 of file coordinateSystem.C.
Definition at line 189 of file coordinateSystem.C.
Member Function Documentation
Convert from local coordinate system to the global Cartesian system. with optional translation for the origin Reimplemented in cylindricalCS, parabolicCylindricalCS, and sphericalCS. Definition at line 222 of file coordinateSystem.C. Referenced by coordinateSystem::globalPosition().
Here is the caller graph for this function:
![]()
Convert from local coordinate system to the global Cartesian system. with optional translation for the origin Reimplemented in cylindricalCS, parabolicCylindricalCS, and sphericalCS. Definition at line 239 of file coordinateSystem.C.
Convert from global Cartesian system to the local coordinate system. with optional translation for the origin Reimplemented in cylindricalCS, parabolicCylindricalCS, and sphericalCS. Definition at line 256 of file coordinateSystem.C. Referenced by coordinateSystem::globalVector(), and coordinateSystem::localPosition().
Here is the caller graph for this function:
![]()
Convert from global Cartesian system to the local coordinate system. with optional translation for the origin Reimplemented in cylindricalCS, parabolicCylindricalCS, and sphericalCS. Definition at line 273 of file coordinateSystem.C.
Runtime type information.
Select constructed from dictionary.
Definition at line 24 of file coordinateSystemNew.C. References coordinateSystem::coordinateSystem(), Foam::endl(), FatalIOErrorIn, Foam::nl, Foam::Pout, and dictionary::readIfPresent().
Here is the call graph for this function:
![]()
Return name.
Definition at line 315 of file coordinateSystem.H. Referenced by coordinateSystems::writeData().
Here is the caller graph for this function:
![]()
Return origin.
Definition at line 333 of file coordinateSystem.H. Referenced by coordinateSystem::writeDict().
Here is the caller graph for this function:
![]()
Return local Cartesian x-axis.
Definition at line 351 of file coordinateSystem.H. Referenced by coordinateSystem::writeDict().
Here is the caller graph for this function:
![]()
Return local Cartesian z-axis.
Definition at line 363 of file coordinateSystem.H. Referenced by coordinateSystem::writeDict().
Here is the caller graph for this function:
![]()
Return axis (e3: local Cartesian z-axis).
Definition at line 372 of file coordinateSystem.H.
Return direction (e1: local Cartesian x-axis).
Definition at line 381 of file coordinateSystem.H.
Return as dictionary of entries.
Definition at line 195 of file coordinateSystem.C.
Write dictionary.
Reimplemented in toroidalCS. Definition at line 296 of file coordinateSystem.C. References coordinateSystem::e1(), coordinateSystem::e3(), coordinateSystem::origin(), and Foam::type().
Here is the call graph for this function:
![]() Convert from position in local coordinate system to global Cartesian position.
Definition at line 419 of file coordinateSystem.H. References coordinateSystem::localToGlobal().
Here is the call graph for this function:
![]()
Convert from position in local coordinate system to global Cartesian position.
Definition at line 425 of file coordinateSystem.H. References coordinateSystem::localToGlobal().
Here is the call graph for this function:
![]() Convert from vector components in local coordinate system to global Cartesian vector.
Definition at line 431 of file coordinateSystem.H. References coordinateSystem::globalToLocal().
Here is the call graph for this function:
![]()
Convert from vector components in local coordinate system to global Cartesian vector.
Definition at line 437 of file coordinateSystem.H. References coordinateSystem::globalToLocal().
Here is the call graph for this function:
![]() Convert from global Cartesian position to position in local coordinate system.
Definition at line 443 of file coordinateSystem.H. References coordinateSystem::globalToLocal().
Here is the call graph for this function:
![]()
Convert from global Cartesian position to position in local coordinate system.
Definition at line 449 of file coordinateSystem.H. References coordinateSystem::globalToLocal().
Here is the call graph for this function:
![]() Convert from global Cartesian vector to components in local coordinate system.
Definition at line 455 of file coordinateSystem.H.
Convert from global Cartesian vector to components in local coordinate system.
Definition at line 461 of file coordinateSystem.H.
assign from dictionary
Definition at line 328 of file coordinateSystem.C. References Foam::decrIndent(), token::END_BLOCK, Foam::endl(), and Foam::indent().
Here is the call graph for this function:
![]()
Friends And Related Function Documentation
The documentation for this class was generated from the following files:
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||