wiki:public/doc-auto/by_ext/gli/H_points
Last modified 3 years ago Last modified on 01/21/16 13:49:10

Input file gli keyword #POINTS

Description

This keyword indicates a following list of points, which includes the point numbers and the Cartesian coordinates. Optionally, a name can be assigned to each point.

Parameters

The first parameter (int) defines the point number. The following three values (double) are the Cartesian coordinates X Y Z.

Subkeywords

$NAME - A point name is only required if points are used for boundary conditions, source terms, output or initial conditions. Names are written behind the coordinate definition and after the sub-keyword $NAME.

Examples

#POINTS
0 0.0 0.0 0.0
1 0.0 750 0.0
2 1000 750 0.0
3 1000 0 0.00
4 500 375 0.0 $NAME POINT4
5 600 375 0.0 $NAME POINT5
#POLYLINE
 $NAME
 left_bc
 $POINTS
 0
 1
#POLYLINE
 $NAME
 right_bc
 $POINTS
 2
 3
#POLYLINE
 $NAME
 top_bc
 $POINTS
 1
 2
#POLYLINE
 $NAME
 bottom_bc
 $POINTS
 3   
 0
#POLYLINE
 $NAME
 polygon
 $POINTS
 0
 1
 2
 3
 0
 #STOP

Documentation from doxygen

None.

Used in benchmarks

Source code reading this keyword from Input files

FileIO/OGSIOVer4.cpp line 603

 603: 	std::cout << "done" << "\n";
 604: 
 605: 	std::string tag;
 606: 	while (tag.find("#POINTS") == std::string::npos && !in.eof())
 607: 		getline (in, tag);
 608: 
 609: 	// read names of points into vector of strings

GEO/geo_pnt.cpp line 229

 229: 
 230: 		if(line_string.find("#STOP") != string::npos) //11.08.2011. WW
 231: 			break;
 232: 		if(line_string.find("#POINTS") != string::npos)
 233: 			while (ok)
 234: 			{
 235: 				m_gli_points = new CGLPoint();

Last modified: 2016-01-21 13:49:01.028556

This page has been generated automatically. Do not edit it manually! It will be overwritten in regular intervals.

If you want to edit the handwritten part of this page, please do so here.