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); }
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.; }
Real ElementType::compute_area(const NodesT& coord) const { throw Common::NotImplemented(FromHere(),"compute_area not implemented for "+derived_type_name()); return 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; }
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; }
/// 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; }
std::string ElementType::builder_name() const { return derived_type_name(); }
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; }
void ElementType::compute_centroid(const NodesT& coord , RealVector& centroid) const { throw Common::NotImplemented(FromHere(),"compute_centroid not implemented for "+derived_type_name()); }
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); }
const RealMatrix& ShapeFunction::local_coordinates() const { throw Common::NotImplemented(FromHere(),"local coordinates not implemented for " + derived_type_name()); }
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); }
RealRowVector ShapeFunction::value(const RealVector& local_coord) const { throw Common::NotImplemented(FromHere(),"shape function value not implemented for " + derived_type_name()); return RealRowVector(1); }