示例#1
0
inline void vertex_buffer_object<Ta, Te>::update()
{
    updateVertices();
    updateNormals();
    updateColors();
    updateTexCoords();
    updateElements();
}
void
BreakMeshByBlockManual_3Blocks::modify()
{

  // if distributeb mesh raise an error
  _mesh_ptr->errorIfDistributedMesh(
      "BreakMeshByBlockManual_3Blocks only works on a REPLICATED mesh");

  checkInputParameter();

  updateElements();

  addInterfaceBoundary();
}