95 Mesh* mesh = mesh_list.at(0);
97 cout <<
" mesh dimension = " << mesh->
getDimension() << endl;
98 cout <<
" mesh ID = " << mesh->
getID() << endl;
104 cout <<
" Faces " << endl;
105 cout <<
" StorageSite::getCount() = " << faces.
getCount() << endl;
106 cout <<
" StorageSite::getSelfCount() = " << faces.
getSelfCount() << endl;
107 cout <<
" StorageSite::getOffset() = " << faces.
getOffset() << endl;
109 cout <<
" Cells " << endl;
110 cout <<
" StorageSite::getCount() = " << cells.
getCount() << endl;
111 cout <<
" StorageSite::getSelfCount() = " << cells.
getSelfCount() << endl;
112 cout <<
" StorageSite::getOffset() = " << cells.
getOffset() << endl;
114 cout <<
" Nodes " << endl;
115 cout <<
" StorageSite::getCount() = " << nodes.
getCount() << endl;
116 cout <<
" StorageSite::getSelfCount() = " << nodes.
getSelfCount() << endl;
117 cout <<
" StorageSite::getOffset() = " << nodes.
getOffset() << endl;
128 cout <<
" CRConnectivity::getCellNodes() " << endl;
129 cout <<
" ::getRowDim() = " << cellNodes.
getRowDim() << endl;
130 cout <<
" ::getColDim() = " << cellNodes.
getColDim() << endl;
131 for (
int cell = 0; cell < cellNodes.
getRowDim(); cell++){
132 cout <<
" row[" << cell+1 <<
"] = " << rowCellNodes[cell] <<
" ";
133 int nnodes = rowCellNodes[cell+1] - rowCellNodes[cell];
134 for (
int node = 0; node < nnodes; node++){
135 cout << colCellNodes[ rowCellNodes[cell] + node ]+1 <<
" ";
147 cout <<
" interiorFaceGroup id = " << interiorFaceGroup.
id << endl;
148 cout <<
" interiorFaceGroup groupType = " << interiorFaceGroup.
groupType << endl;
149 cout <<
" site.getCount() = " << interiorFaceGroup.
site.
getCount() << endl;
156 for (
int i = 0; i < int(bounFaceGroup.size()); i++){
157 cout <<
" bounFaceGroup id = " << bounFaceGroup.at(i)->id << endl;
158 cout <<
" bounFaceGroup groupType = " << bounFaceGroup.at(i)->groupType << endl;
159 cout <<
" site.getCount() = " << bounFaceGroup.at(i)->site.getCount() << endl;
169 indices[0] = 35; indices[1] = 3; indices[2] = 2; indices[3] = 16; indices[4] = 29;
170 shared_ptr<CRConnectivity> subCellNodes = cellNodes.
getSubset( site, indices);
171 const Array<int>& rowCellNodes = subCellNodes->getRow();
172 const Array<int>& colCellNodes = subCellNodes->getCol();
174 cout <<
" subCellNodes = " << endl;
175 cout <<
" getRowDim() = " << subCellNodes->getRowDim() << endl;
176 cout <<
" getColDim() = " << subCellNodes->getColDim() << endl;
177 for (
int cell = 0; cell < subCellNodes->getRowDim(); cell++){
178 cout <<
" row[" << cell+1 <<
"] = " << rowCellNodes[cell] <<
" ";
179 int nnodes = rowCellNodes[cell+1] - rowCellNodes[cell];
180 for (
int node = 0; node < nnodes; node++){
181 cout << colCellNodes[ rowCellNodes[cell] + node ]+1 <<
" ";
195 indices[0] = 35; indices[1] = 3; indices[2] = 2; indices[3] = 16; indices[4] = 29;
196 shared_ptr<CRConnectivity> subLocalCellNodes = cellNodes.
getLocalizedSubset( rowsite, colsite, indices);
197 const Array<int>& rowCellNodes = subLocalCellNodes->getRow();
198 const Array<int>& colCellNodes = subLocalCellNodes->getCol();
200 cout <<
" subCellNodes = " << endl;
201 cout <<
" getRowDim() = " << subLocalCellNodes->getRowDim() << endl;
202 cout <<
" getColDim() = " << subLocalCellNodes->getColDim() << endl;
203 for (
int cell = 0; cell < subLocalCellNodes->getRowDim(); cell++){
204 cout <<
" row[" << cell+1 <<
"] = " << rowCellNodes[cell] <<
" ";
205 int nnodes = rowCellNodes[cell+1] - rowCellNodes[cell];
206 for (
int node = 0; node < nnodes; node++){
207 cout << colCellNodes[ rowCellNodes[cell] + node ]+1 <<
" ";
const FaceGroupList & getBoundaryFaceGroups() const
const Array< int > & getCol() const
const Array< int > & getRow() const
const FaceGroup & getInteriorFaceGroup() const
int getBoundaryGroupCount() const
shared_ptr< CRConnectivity > getSubset(const StorageSite &site, const Array< int > &indices) const
const StorageSite & getNodes() const
int getFaceGroupCount() const
int getInterfaceGroupCount() const
shared_ptr< CRConnectivity > getLocalizedSubset(const StorageSite &newRowSite, StorageSite &newColSite, const Array< int > &indices) const
vector< FaceGroupPtr > FaceGroupList
const StorageSite & getFaces() const
const StorageSite & getCells() const
const CRConnectivity & getCellNodes() const