00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027 namespace Foam
00028 {
00029
00030
00031 inline const bool& cfdemCloud::ignore() const
00032 {
00033 return ignore_;
00034 }
00035
00036 inline const fvMesh& cfdemCloud::mesh() const
00037 {
00038 return mesh_;
00039 }
00040
00041 inline bool cfdemCloud::verbous() const
00042 {
00043 return verbous_;
00044 }
00045
00046 inline const IOdictionary& cfdemCloud::couplingProperties() const
00047 {
00048 return couplingProperties_;
00049 }
00050
00051 inline double ** cfdemCloud::positions() const
00052 {
00053 return positions_;
00054 }
00055
00056 inline double ** cfdemCloud::velocities() const
00057 {
00058 return velocities_;
00059 }
00060
00061 inline double ** cfdemCloud::impForces() const
00062 {
00063 return impForces_;
00064 }
00065
00066 inline double ** cfdemCloud::expForces() const
00067 {
00068 return expForces_;
00069 }
00070
00071 inline double ** cfdemCloud::radii() const
00072 {
00073 return radii_;
00074 }
00075
00076 inline double ** cfdemCloud::voidfractions() const
00077 {
00078 return voidfractions_;
00079 }
00080
00081 inline void cfdemCloud::set_radii(double **& values) const
00082 {
00083 radii_=values;
00084 }
00085
00086 inline double ** cfdemCloud::cellIDs() const
00087 {
00088 return cellIDs_;
00089 }
00090
00091 inline void cfdemCloud::set_cellIDs(double **& values) const
00092 {
00093 cellIDs_=values;
00094 }
00095
00096 inline double ** cfdemCloud::particleWeights() const
00097 {
00098 return particleWeights_;
00099 }
00100
00101 inline double ** cfdemCloud::particleVolumes() const
00102 {
00103 return particleVolumes_;
00104 }
00105
00106 inline int cfdemCloud::numberOfParticles() const
00107 {
00108 return numberOfParticles_;
00109 }
00110
00111 inline bool cfdemCloud::numberOfParticlesChanged() const
00112 {
00113 return numberOfParticlesChanged_;
00114 }
00115
00116 inline bool cfdemCloud::arraysReallocated() const
00117 {
00118 return arraysReallocated_;
00119 }
00120
00121 inline const wordList& cfdemCloud::forceModels()
00122 {
00123 return forceModels_;
00124 }
00125
00126 inline const locateModel& cfdemCloud::locateM() const
00127 {
00128 return locateModel_;
00129 }
00130
00131 inline const momCoupleModel& cfdemCloud::momCoupleM(int i) const
00132 {
00133 return momCoupleModel_[i];
00134 }
00135
00136 inline const dataExchangeModel& cfdemCloud::dataExchangeM() const
00137 {
00138 return dataExchangeModel_;
00139 }
00140
00141 inline const IOModel& cfdemCloud::IOM() const
00142 {
00143 return IOModel_;
00144 }
00145
00146 inline const voidFractionModel& cfdemCloud::voidFractionM() const
00147 {
00148 return voidFractionModel_;
00149 }
00150
00151 inline const averagingModel& cfdemCloud::averagingM() const
00152 {
00153 return averagingModel_;
00154 }
00155
00156 inline const regionModel& cfdemCloud::regionM() const
00157 {
00158 return regionModel_;
00159 }
00160
00161 inline const meshMotionModel& cfdemCloud::meshMotionM() const
00162 {
00163 return meshMotionModel_;
00164 }
00165
00166 inline const wordList& cfdemCloud::liggghtsCommandModelList() const
00167 {
00168 return liggghtsCommandModelList_;
00169 }
00170
00171 inline autoPtr<liggghtsCommandModel>* cfdemCloud::liggghtsCommand() const
00172 {
00173 return liggghtsCommand_;
00174 }
00175
00176 #ifdef version16
00177 inline const incompressible::turbulenceModel& cfdemCloud::turbulence() const
00178 #endif
00179 #ifdef version16comp
00180 inline const compressible::turbulenceModel& cfdemCloud::turbulence() const
00181 #endif
00182 #ifdef version15
00183 inline const incompressible::RASModel& cfdemCloud::turbulence() const
00184 #endif
00185 {
00186 return turbulence_;
00187 }
00188
00189 }
00190