- Timestamp:
- Feb 23, 2006, 8:26:09 AM (19 years ago)
- Location:
- trunk/src/mesh
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/mesh/Makefile
r202 r211 354 354 endiantest: endiantest.o 355 355 $(CXX) -o $@ $< 356 test_node : test_node.o356 test_node3d: test_node3d.o 357 357 $(CXX) -o $@ $< $(LIB_RPMESH) 358 test_node2d: test_node2d.o 359 $(CXX) -o $@ $< $(LIB_RPMESH) 360 etest: etest.o 361 $(CXX) -o $@ $< $(LIB_RPMESH) -
trunk/src/mesh/element.h
r202 r211 4 4 #include <iostream> 5 5 #include <vector> 6 #include "node3d.h"7 6 #include "util.h" 8 7 -
trunk/src/mesh/node2d.h
r202 r211 24 24 25 25 // assign value to coordinate[index] 26 void set(int id, int x, int y) { m_id = id; m_x = x; m_y = y; }; 27 void set(int id, int* val) { m_id = id; m_x = val[0]; m_y = val[1]; }; 26 28 void set(int x, int y) { m_x = x; m_y = y; }; 27 void set(int* val) { m_x = val[0]; m_y = val[1]; };28 29 29 30 // get node coordinates -
trunk/src/mesh/node3d.h
r197 r211 24 24 { }; 25 25 26 void operator=(const int* val) 27 { m_x = val[0]; m_y = val[1]; m_z = val[2]; }; 28 26 29 // assign value to coordinate[index] 27 void set(int x, int y, int z) { m_x = x; m_y = y; m_z =z; }; 28 void set(int* val) { m_x = val[0]; m_y = val[1]; m_z = val[2]; }; 30 void set(int x, int y, int z) 31 { m_x = x; m_y = y; m_z =z; }; 32 void set(int* val) 33 { m_x = val[0]; m_y = val[1]; m_z = val[2]; }; 29 34 30 35 // get node coordinates
Note: See TracChangeset
for help on using the changeset viewer.