示例#1
0
RealVector ElementType::plane_jacobian_normal(const RealVector& mapped_coords,
                                              const RealMatrix& nodes,
                                              const CoordRef direction) const
{
  throw Common::NotImplemented(FromHere(),"jacobian not implemented for "+derived_type_name());
  return RealVector(1);
}
示例#2
0
Real ElementType::jacobian_determinant(const RealVector& mapped_coord, const RealMatrix& nodes) const
{
  throw Common::NotImplemented(FromHere(),"jacobian_determinant not implemented for "+derived_type_name());
  return 0.;
}
示例#3
0
Real ElementType::compute_area(const NodesT& coord) const
{
  throw Common::NotImplemented(FromHere(),"compute_area not implemented for "+derived_type_name());
  return 0.;
}
示例#4
0
bool ElementType::is_coord_in_element(const RealVector& coord, const NodesT& nodes) const
{
  throw Common::NotImplemented(FromHere(),"is_coord_in_element(const RealVector& coord, const NodesT& nodes) not implemented for "+derived_type_name());
  return false;
}
示例#5
0
const ElementType& ElementType::face_type(const Uint face) const
{
  throw Common::NotImplemented(FromHere(),"face_type(const Uint face) not implemented for "+derived_type_name());
  static const ElementType f_type;
  return f_type;
}
示例#6
0
/// Return the face connectivity information
const ElementType::FaceConnectivity& ElementType::face_connectivity() const
{
  throw Common::NotImplemented(FromHere(),"face_connectivity() not implemented for "+derived_type_name());
  static ElementType::FaceConnectivity connectivity;
  return connectivity;
}
示例#7
0
std::string ElementType::builder_name() const
{
  return derived_type_name();
}
示例#8
0
const ShapeFunction& ElementType::shape_function() const
{
  throw Common::NotImplemented(FromHere(),"shape_function() not implemented for "+derived_type_name()+"\nThis element type is not compatible yet. It should have a dedicated separate shape function.\nCheck src/Mesh/SF/Line.hpp and the LineLagrange element types for examples.");
  static const ShapeFunction f;
  return f;
}
示例#9
0
void ElementType::compute_centroid(const NodesT& coord , RealVector& centroid) const
{
  throw Common::NotImplemented(FromHere(),"compute_centroid not implemented for "+derived_type_name());
}
示例#10
0
RealMatrix ElementType::jacobian(const RealVector& mapped_coord, const RealMatrix& nodes) const
{
  throw Common::NotImplemented(FromHere(),"jacobian not implemented for "+derived_type_name());
  return RealMatrix(0,0);
}
示例#11
0
const RealMatrix& ShapeFunction::local_coordinates() const
{
  throw Common::NotImplemented(FromHere(),"local coordinates not implemented for " + derived_type_name());
}
示例#12
0
RealMatrix ShapeFunction::gradient(const RealVector& local_coord) const
{
  throw Common::NotImplemented(FromHere(),"shape function gradient not implemented for " + derived_type_name());
  return RealRowVector(0,0);
}
示例#13
0
RealRowVector ShapeFunction::value(const RealVector& local_coord) const
{
  throw Common::NotImplemented(FromHere(),"shape function value not implemented for " + derived_type_name());
  return RealRowVector(1);
}