|
muMECH
1.0
|
Classes | |
| struct | ellipse_rec |
| Ellipsoid record. More... | |
| struct | point_rec |
| Point record. More... | |
Enumerations | |
| enum | logic { NO = 0, YES = 1 } |
Functions | |
| static logic | check_point_inside_ellipse (point_rec *point, ellipse_rec *ellipse) |
| static int | project_point_to_ellipse (point_rec *point, ellipse_rec *ellipse, point_rec *pnt, double *t_par) |
| static void | get_ellipse_point_quadrant (ellipse_rec *ellipse, int quadrant, double t, point_rec *pnt) |
| static void | get_ellipse_point (ellipse_rec *ellipse, double t, point_rec *pnt) |
| static double | get_ellipse_gradient (ellipse_rec *ellipse, double t, point_rec *grad) |
| static void | transform_from_global_to_local (point_rec *global, point_rec *local, point_rec *origin, double cos_angle, double sin_angle) |
| static void | transform_from_local_to_global (point_rec *global, point_rec *local, point_rec *origin, double cos_angle, double sin_angle) |
| static void | error_message (int exit_code, const char *format,...) |
| void | check_ellipse_rec_consistency (meso2d::ellipse_rec &L) |
| ADDED for muMech needs. More... | |
| bool | isZero (double zero, double a) |
| void | transfom_ellipse_rec (meso2d::ellipse_rec &L) |
| ADDED for muMech needs. More... | |
| bool | check_ellipse_ellipse_overlap (ellipse_rec *ellipse1, ellipse_rec *ellipse2) |
Variables | |
| static double | epsilon = EPSILON |
| enum meso2d::logic |
| Enumerator | |
|---|---|
| NO | |
| YES | |
Definition at line 126 of file meso2d.cpp.
| bool meso2d::check_ellipse_ellipse_overlap | ( | ellipse_rec * | ellipse1, |
| ellipse_rec * | ellipse2 | ||
| ) |
Definition at line 2392 of file meso2d.cpp.
References check_point_inside_ellipse(), dist_point, epsilon, EPSILON_T, get_ellipse_point_quadrant(), NO, project_point_to_ellipse(), and YES.
Referenced by mumech::MesoFace::ellipses_overlap().
| void meso2d::check_ellipse_rec_consistency | ( | meso2d::ellipse_rec & | L | ) |
ADDED for muMech needs.
Definition at line 282 of file meso2d.cpp.
References meso2d::ellipse_rec::angle, meso2d::ellipse_rec::bc, meso2d::ellipse_rec::boundary_msz, error_message(), meso2d::ellipse_rec::id, INPUT_ERROR, meso2d::ellipse_rec::interface, meso2d::ellipse_rec::internal_msz, meso2d::ellipse_rec::max, meso2d::ellipse_rec::min, meso2d::ellipse_rec::property, and WARNING.
Referenced by deg2rad(), and mumech::MesoFace::ellipses_overlap().
|
static |
Definition at line 2573 of file meso2d.cpp.
References epsilon, NO, transform_from_global_to_local(), meso2d::point_rec::x, meso2d::point_rec::y, and YES.
Referenced by check_ellipse_ellipse_overlap().
|
static |
Definition at line 2984 of file meso2d.cpp.
References NO_ERROR, WARNING, and YES.
Referenced by check_ellipse_rec_consistency(), and project_point_to_ellipse().
|
static |
Definition at line 2870 of file meso2d.cpp.
References B_0, B_1, B_2, dB_0, dB_1, dB_2, and size_vec.
Referenced by project_point_to_ellipse().
|
static |
Definition at line 2851 of file meso2d.cpp.
Referenced by get_ellipse_point_quadrant(), and project_point_to_ellipse().
|
static |
Definition at line 2793 of file meso2d.cpp.
References get_ellipse_point(), transform_from_global_to_local(), transform_from_local_to_global(), meso2d::point_rec::x, and meso2d::point_rec::y.
Referenced by check_ellipse_ellipse_overlap().
| bool meso2d::isZero | ( | double | zero, |
| double | a | ||
| ) |
Definition at line 310 of file meso2d.cpp.
Referenced by transfom_ellipse_rec().
|
static |
Definition at line 2680 of file meso2d.cpp.
References dot_product, EPSILON_T, error_message(), GENERAL_ERROR, get_ellipse_gradient(), get_ellipse_point(), sub_vec, transform_from_global_to_local(), transform_from_local_to_global(), meso2d::point_rec::x, meso2d::point_rec::y, and YES.
Referenced by check_ellipse_ellipse_overlap().
| void meso2d::transfom_ellipse_rec | ( | meso2d::ellipse_rec & | L | ) |
ADDED for muMech needs.
Definition at line 317 of file meso2d.cpp.
References meso2d::ellipse_rec::angle, meso2d::ellipse_rec::center, meso2d::ellipse_rec::cos_angle, isZero(), meso2d::ellipse_rec::max, meso2d::ellipse_rec::min, meso2d::ellipse_rec::patch, meso2d::ellipse_rec::pnt0, meso2d::ellipse_rec::pnt1, meso2d::ellipse_rec::pnt2, meso2d::ellipse_rec::sin_angle, transform_from_local_to_global(), meso2d::point_rec::x, and meso2d::point_rec::y.
Referenced by deg2rad(), and mumech::MesoFace::ellipses_overlap().
|
static |
Definition at line 2922 of file meso2d.cpp.
Referenced by check_point_inside_ellipse(), get_ellipse_point_quadrant(), and project_point_to_ellipse().
|
static |
Definition at line 2933 of file meso2d.cpp.
Referenced by get_ellipse_point_quadrant(), project_point_to_ellipse(), and transfom_ellipse_rec().
|
static |
Definition at line 172 of file meso2d.cpp.
Referenced by check_ellipse_ellipse_overlap(), check_point_inside_ellipse(), mumech::Inclusion::find_overlap(), mumech::Problem::give_inclusion(), and mumech::eshelbySoluUniformField::giveSijkl().