| typedef std::pair<Coordinates3D<float>, Coordinates3D<float> > CompuCell3D::CenterOfMassPair_t |
Definition at line 30 of file NumericalUtils.h.
Definition at line 58 of file BoundaryStrategy.h.
Definition at line 32 of file BoundaryTypeDefinitions.h.
| Point3D CompuCell3D::distanceVectorInvariant | ( | const Point3D & | _pt1, | |
| const Point3D & | _pt0, | |||
| const Point3D & | _fieldDim | |||
| ) |
Definition at line 331 of file NumericalUtils.cpp.
References CompuCell3D::Point3D::x, CompuCell3D::Point3D::y, and CompuCell3D::Point3D::z.
Referenced by CompuCell3D::CellOrientationPlugin::changeEnergy().
| double CompuCell3D::distInvariantCM | ( | double | x0, | |
| double | y0, | |||
| double | z0, | |||
| double | x1, | |||
| double | y1, | |||
| double | z1, | |||
| const Point3D & | fieldDim, | |||
| BoundaryStrategy * | boundaryStrategy | |||
| ) |
Definition at line 207 of file NumericalUtils.cpp.
References CompuCell3D::BoundaryStrategy::calculatePointCoordinates(), dist(), Coordinates3D< T >::x, CompuCell3D::Point3D::x, Coordinates3D< T >::y, CompuCell3D::Point3D::y, Coordinates3D< T >::z, and CompuCell3D::Point3D::z.
Referenced by CompuCell3D::RealPlasticityPlugin::changeEnergy(), and CompuCell3D::PlasticityPlugin::changeEnergy().
| std::string CompuCell3D::operator+ | ( | const std::string | s, | |
| const Point3D | pt | |||
| ) | [inline] |
Overloads the operator std::string + Point3D.
Definition at line 135 of file Point3D.h.
References CompuCell3D::Point3D::x, CompuCell3D::Point3D::y, and CompuCell3D::Point3D::z.
| Point3D CompuCell3D::operator+ | ( | const Point3D | pt1, | |
| const Point3D | pt2 | |||
| ) | [inline] |
Overloads the + operator for Point3D.
Definition at line 121 of file Point3D.h.
References CompuCell3D::Point3D::x, CompuCell3D::Point3D::y, and CompuCell3D::Point3D::z.
| Point3D CompuCell3D::operator- | ( | const Point3D | pt1, | |
| const Point3D | pt2 | |||
| ) | [inline] |
Overloads the - operator for Point3D.
Definition at line 128 of file Point3D.h.
References CompuCell3D::Point3D::x, CompuCell3D::Point3D::y, and CompuCell3D::Point3D::z.
| std::ostream& CompuCell3D::operator<< | ( | std::ostream & | out, | |
| CompuCell3D::DiffusionData & | diffData | |||
| ) | [inline] |
Definition at line 204 of file DiffSecrData.h.
References CompuCell3D::DiffusionData::decayConst, CompuCell3D::DiffusionData::deltaT, CompuCell3D::DiffusionData::deltaX, CompuCell3D::DiffusionData::diffConst, and CompuCell3D::DiffusionData::fieldName.
| std::ostream& CompuCell3D::operator<< | ( | std::ostream & | stream, | |
| const Point3D & | pt | |||
| ) | [inline] |
Print a Point3D to a std::ostream. The format is (x,y,z).
Definition at line 113 of file Point3D.h.
References CompuCell3D::Point3D::x, CompuCell3D::Point3D::y, and CompuCell3D::Point3D::z.
| std::ostream& CompuCell3D::operator<< | ( | std::ostream & | _scr, | |
| const Neighbor & | _n | |||
| ) | [inline] |
Definition at line 48 of file Neighbor.h.
References CompuCell3D::Neighbor::distance, CompuCell3D::Neighbor::pt, and CompuCell3D::Neighbor::ptTrans.
| std::ofstream & CompuCell3D::operator<< | ( | std::ofstream & | stream, | |
| const Field3D< T > & | field | |||
| ) | [inline] |
Generic operator for writing Field3D data in a platform independent way.
The format is as follows:
| Bytes | Type | Description |
| 2 | char | Data type string. |
| 1 | char | Number of dimensions. Always 3. |
| 4 | uint32_t | X dimension. |
| 4 | uint32_t | Y dimension. |
| 4 | uint32_t | Z dimension. |
| X*Y*Z*sizeof(data type) | data type according to the type string | The field data |
The predefined data type strings are as follows:
" i" 4 byte signed integer
"ui" 4 byte unsigned integer
" d" 8 byte double
" f" 4 byte float
" c" 1 byte signed character
"uc" 1 byte unsigned character
" l" 4 byte signed integer
"ul" 4 byte unsigned integer
If you what to write a field of a data type not listed in this table you must define const char Field3D<T>::typeStr[3] for that type somewhere in your code or you will get link errors.
All data is written in network byte order. (ie. Most significant byte first)
Long data types and pointers are different on 64 bit machines. Such data fields will be incompatable between 64 bit and 32 bit machines.
stream The output stream. field The field to write.
Definition at line 90 of file Field3DIO.h.
References ASSERT_OR_THROW, TypeChangeWatcherExample::dim, CompuCell3D::Point3D::x, CompuCell3D::Point3D::y, and CompuCell3D::Point3D::z.
| std::ifstream & CompuCell3D::operator>> | ( | std::ifstream & | stream, | |
| Field3D< T > & | field | |||
| ) | [inline] |
Generic operator for reading Field3D data in a platform independent way.
See std::ofstream &operator<<(std::ofstream &, Field3D<T> &)
Definition at line 124 of file Field3DIO.h.
References ASSERT_OR_THROW, CompuCell3D::Field3D< T >::getDim(), CompuCell3D::Field3D< T >::set(), CompuCell3D::Field3D< T >::typeStr, CompuCell3D::Point3D::x, CompuCell3D::Point3D::y, and CompuCell3D::Point3D::z.
| CenterOfMassPair_t CompuCell3D::precalculateAfterFlipCM | ( | const Point3D & | pt, | |
| const CellG * | newCell, | |||
| const CellG * | oldCell, | |||
| const Point3D & | fieldDim, | |||
| const Point3D & | boundaryConditionIndicator | |||
| ) |
Definition at line 379 of file NumericalUtils.cpp.
References CompuCell3D::CellG::volume, CompuCell3D::Point3D::x, CompuCell3D::CellG::xCM, Coordinates3D< T >::XRef(), CompuCell3D::Point3D::y, CompuCell3D::CellG::yCM, Coordinates3D< T >::YRef(), CompuCell3D::Point3D::z, CompuCell3D::CellG::zCM, and Coordinates3D< T >::ZRef().
Referenced by CompuCell3D::VelocityPlugin::changeEnergy().
| Coordinates3D< double > CompuCell3D::precalculateCentroid | ( | const Point3D & | pt, | |
| const CellG * | _cell, | |||
| int | _volumeIncrement, | |||
| const Point3D & | fieldDim, | |||
| BoundaryStrategy * | boundaryStrategy | |||
| ) |
Definition at line 45 of file NumericalUtils.cpp.
References CompuCell3D::BoundaryStrategy::calculatePointCoordinates(), CompuCell3D::CellG::volume, Coordinates3D< T >::x, CompuCell3D::Point3D::x, CompuCell3D::CellG::xCM, Coordinates3D< T >::y, CompuCell3D::Point3D::y, CompuCell3D::CellG::yCM, Coordinates3D< T >::z, CompuCell3D::Point3D::z, and CompuCell3D::CellG::zCM.
Referenced by CompuCell3D::RealPlasticityPlugin::changeEnergy(), and CompuCell3D::PlasticityPlugin::changeEnergy().
1.5.6