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