#include <iostream>
#include <fstream>
#include <sstream>
#include <string>
#include "Mesh.H"
#include "Profiler.H"
#include "Global.H"
#include "primitive_utilities.H"
Go to the source code of this file.
|
int | main (int argc, char *argv[]) |
|
int main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
Definition at line 12 of file gg2mesh.C.
References Mesh::Connectivity::AddElement(), i, and x.
17 std::getline(std::cin,line);
18 std::string::size_type
x = line.find(
"Nodes");
19 if(x != std::string::npos)
24 std::cout << nc << std::endl;
27 std::getline(std::cin,line);
28 std::string::size_type x = line.find(
"Boundary");
29 if(x != std::string::npos)
33 std::getline(std::cin,line);
34 std::istringstream Dum(line);
37 getline(std::cin,line);
40 std::getline(std::cin,line);
41 std::string::size_type x = line.find(
"Elements");
42 if(x != std::string::npos)
48 std::getline(std::cin,line);
49 std::string::size_type x = line.find(
"Variables");
50 if(x == std::string::npos){
51 std::istringstream Istr(line);
53 Istr >> dummy >> dummy;
54 std::vector<Mesh::IndexType> nodes;
56 nodes.push_back(dummy);
62 std::cout << ec << std::endl;
void AddElement(const std::vector< IndexType > &elem)
General connectivity object.
IRAD::Primitive::IndexType IndexType