52 d_point_impl = Teuchos::rcp(
new PointImpl() );
53 this->b_entity_impl = d_point_impl;
58 Point::Point(
const EntityId global_id,
const int owner_rank,
59 const Teuchos::Array<double> &coordinates,
60 const Teuchos::Array<int> &block_ids,
61 const Teuchos::Array<int> &boundary_ids )
63 d_point_impl = Teuchos::rcp(
new PointImpl(
64 global_id, owner_rank, coordinates, block_ids, boundary_ids ) );
65 this->b_entity_impl = d_point_impl;
71 const Teuchos::ArrayView<double> &coordinates )
const 73 DTK_REQUIRE( Teuchos::nonnull( d_point_impl ) );
74 d_point_impl->getCoordinates( coordinates );
Assertions and Design-by-Contract for error handling.
void getCoordinates(const Teuchos::ArrayView< double > &coordinates) const
Coordinate access functions.
unsigned long int EntityId
Entity id type.