37 template<
class ELEMENT>
57 "YoungLaplaceContactAngleElement only work with 2D nodes",
68 template<
class ELEMENT>
79 unsigned n_intpt = integral_pt()->nweight();
94 s[0] = integral_pt()->knot(
ipt, 0);
97 double w = integral_pt()->weight(
ipt);
103 double cos_gamma = prescribed_cos_gamma();
126 ELEMENT::cross_product(
153 template<
class ELEMENT>
158 ELEMENT*
bulk_elem_pt =
dynamic_cast<ELEMENT*
>(this->bulk_element_pt());
182 for (
unsigned i = 0;
i < 3;
i++)
213 "YoungLaplaceContactAngleElements only work with 2D bulk elements",
237 for (
unsigned j = 0;
j < 2;
j++)
264 template<
class ELEMENT>
273 ELEMENT*
bulk_elem_pt =
dynamic_cast<ELEMENT*
>(this->bulk_element_pt());
282 "YoungLaplaceContactAngleElements only work with 2D bulk elements",
307 double interpolated_u = 0.0;
375 ELEMENT::allocate_vector_of_vectors(2, 3,
dspine);
377 ELEMENT::allocate_vector_of_vectors(2, 3,
dspine_base);
387 for (
unsigned i = 0;
i < 3;
i++)
408 for (
unsigned i = 0;
i < 3;
i++)
426 for (
unsigned i = 0;
i < 2;
i++)
446 for (
unsigned i = 0;
i < 3;
i++)
460 for (
unsigned i = 0;
i < 3;
i++)
467 for (
unsigned i = 0;
i < 3;
i++)
A Class for the derivatives of shape functions The class design is essentially the same as Shape,...
FaceElements are elements that coincide with the faces of higher-dimensional "bulk" elements....
int & face_index()
Index of the face (a number that uniquely identifies the face in the element)
FaceGeometry class definition: This policy class is used to allow construction of face elements that ...
A general Finite Element class.
void interpolated_zeta(const Vector< double > &s, Vector< double > &zeta) const
Calculate the interpolated value of zeta, the intrinsic coordinate of the element when viewed as a co...
unsigned dim() const
Return the spatial dimension of the element, i.e. the number of local coordinates required to paramet...
unsigned nnode() const
Return the number of nodes.
double nodal_position(const unsigned &n, const unsigned &i) const
Return the i-th coordinate at local node n. If the node is hanging, the appropriate interpolation is ...
double dshape_eulerian(const Vector< double > &s, Shape &psi, DShape &dpsidx) const
Compute the geometric shape functions and also first derivatives w.r.t. global coordinates at local c...
Node *& node_pt(const unsigned &n)
Return a pointer to the local node n.
virtual void dshape_local(const Vector< double > &s, Shape &psi, DShape &dpsids) const
Function to compute the geometric shape functions and derivatives w.r.t. local coordinates at local c...
virtual void build_face_element(const int &face_index, FaceElement *face_element_pt)
Function for building a lower dimensional FaceElement on the specified face of the FiniteElement....
unsigned ndim() const
Return (Eulerian) spatial dimension of the node.
An OomphLibError object which should be thrown when an run-time error is encountered....
A Class for shape functions. In simple cases, the shape functions have only one index that can be tho...
TAdvectionDiffusionReactionElement<NREAGENT,DIM,NNODE_1D> elements are isoparametric triangular DIM-d...
TAdvectionDiffusionReactionElement()
Constructor: Call constructors for TElement and AdvectionDiffusionReaction equations.
DRAIG: Change all instances of (SPATIAL_DIM) to (DIM-1).