Esempio n. 1
0
 def _cellFaceIDs(self):
     return MA.array(_Grid1DBuilder.createCells(self.nx))
Esempio n. 2
0
 def _cellFaceIDs(self):
     return MA.array(_Grid1DBuilder.createCells(self.nx))
Esempio n. 3
0
 def _concatenableMesh(self):
     from fipy.meshes.mesh1D import Mesh1D
     return Mesh1D(vertexCoords=self.vertexCoords,
                   faceVertexIDs=_Grid1DBuilder.createFaces(
                       self.numberOfVertices),
                   cellFaceIDs=_Grid1DBuilder.createCells(self.nx))
Esempio n. 4
0
 def _concatenableMesh(self):
     from fipy.meshes.mesh1D import Mesh1D
     return Mesh1D(vertexCoords = self.vertexCoords,
                   faceVertexIDs = _Grid1DBuilder.createFaces(self.numberOfVertices),
                   cellFaceIDs = _Grid1DBuilder.createCells(self.nx))