On 3/23/06, Shengli Xu <shengli.xu.xu@gmail.com> wrote:
Dear Developers and Users,
I want to get the node's coordinate from the node vector.
// define node vector
typedef std::vector<Node*> evec;
evec Nevec;
{
// add some node to Nevec through Nevec.push_back()
}
for(evec::iterator it = Nevec.begin(); it !=Nevec.end(); ++it){

        // Is this right to get the node coordinate? Compile shows that is error.
      const Real nx = (*it)(0);      
      const Real ny = (*it)(1);

Cheers,
ShengliXu