| 48 |
|
|
| 49 |
|
class DensityPlot : public StaticAnalyser{ |
| 50 |
|
public: |
| 51 |
< |
DensityPlot(SimInfo* info, const std::string& filename, const std::string& sele, double len, int nrbins); |
| 51 |
> |
DensityPlot(SimInfo* info, const std::string& filename, const std::string& sele, const std::string& cmSele,double len, int nrbins); |
| 52 |
|
virtual void process(); |
| 53 |
|
|
| 54 |
|
int getNRBins() { |
| 61 |
|
|
| 62 |
|
|
| 63 |
|
private: |
| 64 |
+ |
Vector3d calcNewOrigin(); |
| 65 |
+ |
|
| 66 |
|
void writeDensity(); |
| 67 |
+ |
|
| 68 |
|
Snapshot* currentSnapshot_; |
| 69 |
|
double len_; |
| 70 |
|
double halfLen_; |
| 75 |
|
|
| 76 |
|
std::string selectionScript_; |
| 77 |
|
SelectionManager seleMan_; |
| 78 |
< |
SelectionEvaluator evaluator_; |
| 78 |
> |
SelectionEvaluator evaluator_; |
| 79 |
> |
std::string cmSelectionScript_; |
| 80 |
> |
SelectionManager cmSeleMan_; |
| 81 |
> |
SelectionEvaluator cmEvaluator_; |
| 82 |
> |
|
| 83 |
> |
|
| 84 |
|
}; |
| 85 |
|
} |
| 86 |
|
|