45 std::string FilterCellHistoryPoints::className
47 "CellHistoryPoints", FilterCellHistoryPoints::create);
52 FilterCellHistoryPoints::FilterCellHistoryPoints(
85 int numFields =
m_cell->GetNumCellVariables();
98 for (j = 0; j < numFields; ++j)
105 locCoord = (*x).second;
106 expId = (*x).first->GetVid();
107 nppp = pFields[0]->GetPlane(0)->GetTotPoints();
110 + pFields[j]->GetPhys_Offset(expId);
114 = pFields[0]->GetExp(expId)->StdPhysEvaluate(
125 locCoord = (*x).second;
126 expId = (*x).first->GetVid();
128 physvals =
m_cell->GetCellSolution(j)
129 + pFields[0]->GetPhys_Offset(expId);
133 = pFields[0]->GetExp(expId)->StdPhysEvaluate(
144 if (vComm->GetRank() == 0)
152 for (
int j = 0; j < numFields; ++j)
~FilterCellHistoryPoints()
std::ofstream m_outputStream
virtual void v_Update(const Array< OneD, const MultiRegions::ExpListSharedPtr > &pFields, const NekDouble &time)
std::map< int, int > m_historyLocalPointMap
CellModelSharedPtr m_cell
boost::shared_ptr< SessionReader > SessionReaderSharedPtr
boost::shared_ptr< Comm > CommSharedPtr
Pointer to a Communicator object.
unsigned int m_outputPlane
plane to take history point from if using a homogeneous1D expansion
SpatialDomains::PointGeomVector m_historyPoints
unsigned int m_outputFrequency
std::map< std::string, std::string > ParamMap
StandardMatrixTag boost::call_traits< LhsDataType >::const_reference rhs typedef NekMatrix< LhsDataType, StandardMatrixTag >::iterator iterator
FilterFactory & GetFilterFactory()
std::list< std::pair< SpatialDomains::PointGeomSharedPtr, Array< OneD, NekDouble > > > m_historyList
boost::shared_ptr< PointGeom > PointGeomSharedPtr
tKey RegisterCreatorFunction(tKey idKey, CreatorFunction classCreator, tDescription pDesc="")
Register a class with the factory.