MOAB: Mesh Oriented datABase
(version 5.4.1)
|
Public Member Functions | |
LineDomainArg (std::vector< MeshDomain * > &domlist, std::vector< int > &dims) | |
virtual bool | value (const std::vector< double > &list) |
Private Attributes | |
std::vector< MeshDomain * > & | domList |
std::vector< int > & | dimList |
Definition at line 127 of file domain.cpp.
LineDomainArg::LineDomainArg | ( | std::vector< MeshDomain * > & | domlist, |
std::vector< int > & | dims | ||
) | [inline] |
Definition at line 134 of file domain.cpp.
bool LineDomainArg::value | ( | const std::vector< double > & | list | ) | [virtual] |
Definition at line 139 of file domain.cpp.
References MBMesquite::Vector3D::set().
{ Vector3D dir( vals[0], vals[1], vals[2] ); Vector3D point( 0, 0, 0 ); if( vals.size() == 6 ) point.set( vals[3], vals[4], vals[5] ); LineDomain* pdom = new LineDomain( point, dir ); domList.push_back( pdom ); dimList.push_back( 1 ); return true; }
std::vector< int >& LineDomainArg::dimList [private] |
Definition at line 131 of file domain.cpp.
std::vector< MeshDomain* >& LineDomainArg::domList [private] |
Definition at line 130 of file domain.cpp.