31 #ifndef OOMPH_FACE_ELEMENT_AS_GEOMETRIC_OBJECT_HEADER
32 #define OOMPH_FACE_ELEMENT_AS_GEOMETRIC_OBJECT_HEADER
36 #include <oomph-lib-config.h>
58 template<
class ELEMENT>
106 const unsigned&
i)
const
124 std::ostringstream error_message;
126 <<
"FaceElementAsGeomObject::geom_data_pt() is deliberately broken\n"
127 <<
"as it does not depend on any geometric Data" << std::endl;
138 std::ostringstream warn_message;
139 warn_message <<
"Warning: You have just called the empty function \n"
140 <<
"fill_in_contribution_to_jacobian() for a "
141 "FaceElementAsGeometricObject.\n"
142 <<
"These Elements should only be used to setup "
143 "interactions, so should\n"
144 <<
"not be included in any jacobian calculations\n";
148 "FaceElementAsGeometricObject::fill_in_contribution_to_jacobian()",
181 template<
class ELEMENT>
196 if (cast_element1_pt == 0)
198 std::ostringstream error_message;
200 <<
"Failed to cast element1_pt to a FaceElementAsGeomObject"
207 if (cast_element2_pt == 0)
209 std::ostringstream error_message;
211 <<
"Failed to cast element2_pt to a FaceElementAsGeomObject"
239 return cast_element1_pt->
zeta_nodal(0, 0, 0) <
int i
Definition: BiCGSTAB_step_by_step.cpp:9
const unsigned n
Definition: CG3DPackingUnitTest.cpp:11
Definition: face_element_as_geometric_object.h:183
int operator()(GeneralisedElement *const &element1_pt, GeneralisedElement *const &element2_pt)
The actual comparison operator.
Definition: face_element_as_geometric_object.h:186
Definition: element_with_external_element.h:56
void describe_local_dofs(std::ostream &out, const std::string &curr_string) const
Definition: element_with_external_element.cc:205
Definition: face_element_as_geometric_object.h:62
void describe_local_dofs(std::ostream &out, const std::string ¤t_string) const
Definition: face_element_as_geometric_object.h:160
void fill_in_contribution_to_jacobian(Vector< double > &residuals, DenseMatrix< double > &jacobian)
Override fill in contribution to jacobian, nothing should be done.
Definition: face_element_as_geometric_object.h:135
FaceElementAsGeomObject(const FaceElementAsGeomObject &)=delete
Broken copy constructor.
void assign_all_generic_local_eqn_numbers(const bool &store_local_dof_pt)
Unique final overrider needed for assign_all_generic_local_eqn_numbers.
Definition: face_element_as_geometric_object.h:168
unsigned ngeom_data() const
Definition: face_element_as_geometric_object.h:114
double zeta_nodal(const unsigned &n, const unsigned &k, const unsigned &i) const
Broken assignment operator.
Definition: face_element_as_geometric_object.h:104
FaceElementAsGeomObject(FiniteElement *const &element_pt, const int &face_index)
Definition: face_element_as_geometric_object.h:72
Data * geom_data_pt(const unsigned &j)
Definition: face_element_as_geometric_object.h:122
Definition: elements.h:4338
int & face_index()
Definition: elements.h:4626
double zeta_nodal(const unsigned &n, const unsigned &k, const unsigned &i) const
Definition: elements.h:4497
Definition: elements.h:4998
Definition: elements.h:1313
virtual void build_face_element(const int &face_index, FaceElement *face_element_pt)
Definition: elements.cc:5132
virtual void assign_all_generic_local_eqn_numbers(const bool &store_local_dof_pt)
Definition: elements.h:2164
unsigned dim() const
Definition: elements.h:2611
unsigned nodal_dimension() const
Return the required Eulerian dimension of the nodes in this element.
Definition: elements.h:2484
Definition: elements.h:73
void set_nlagrangian_and_ndim(const unsigned &n_lagrangian, const unsigned &n_dim)
Set # of Lagrangian and Eulerian coordinates.
Definition: geom_objects.h:183
Definition: oomph_definitions.h:222
Definition: oomph_definitions.h:267
char char char int int * k
Definition: level2_impl.h:374
std::string string(const unsigned &i)
Definition: oomph_definitions.cc:286
DRAIG: Change all instances of (SPATIAL_DIM) to (DIM-1).
Definition: AnisotropicHookean.h:10
#define OOMPH_EXCEPTION_LOCATION
Definition: oomph_definitions.h:61
#define OOMPH_CURRENT_FUNCTION
Definition: oomph_definitions.h:86
std::ofstream out("Result.txt")
std::ptrdiff_t j
Definition: tut_arithmetic_redux_minmax.cpp:2