v0.14.0 |
Computes, for reference configuration, normal to slave face that is common to all gauss points. More...
#include <users_modules/mortar_contact/src/SimpleContact.hpp>
Public Member Functions | |
OpGetNormalSlave (const string field_name, boost::shared_ptr< CommonDataSimpleContact > common_data_contact) | |
MoFEMErrorCode | doWork (int side, EntityType type, EntData &data) |
Evaluates unit normal vector to the slave surface vector based on reference base coordinates. More... | |
Public Attributes | |
boost::shared_ptr< CommonDataSimpleContact > | commonDataSimpleContact |
Computes, for reference configuration, normal to slave face that is common to all gauss points.
Definition at line 664 of file SimpleContact.hpp.
|
inline |
Definition at line 667 of file SimpleContact.hpp.
MoFEMErrorCode SimpleContactProblem::OpGetNormalSlave::doWork | ( | int | side, |
EntityType | type, | ||
EntData & | data | ||
) |
Evaluates unit normal vector to the slave surface vector based on reference base coordinates.
Computes normal vector based on reference base coordinates based on mesh (moab vertices) coordinates:
\[ {\mathbf N}^{(1)}({\boldsymbol{\chi}}(\xi, \eta)) = \frac{\partial\mathbf{X}(\xi, \eta)}{\partial\xi}\times\frac{\partial \mathbf{X}(\xi, \eta)} {\partial\eta} \]
where \({\boldsymbol{\chi}}^{(1)}(\xi, \eta)\) is the vector of reference coordinates at the gauss point on slave surface with parent coordinates \(\xi\) and \(\eta\) evaluated according to
\[ {\boldsymbol{\chi}}(\xi, \eta) = \sum\limits^{3}_{i = 1} N_i(\xi, \eta){{\boldsymbol{\chi}}}_i \]
where \( N_i \) is the shape function corresponding to the \( i-{\rm{th}}\) degree of freedom in the reference configuration \({{\boldsymbol{\chi}}}^{(1)}_i\) corresponding to the 3 nodes of the triangular slave face.
Definition at line 384 of file SimpleContact.cpp.
boost::shared_ptr<CommonDataSimpleContact> SimpleContactProblem::OpGetNormalSlave::commonDataSimpleContact |
Definition at line 666 of file SimpleContact.hpp.