34 return IntersectionLocal::numberInstance++;
49 THROW( ExcAssertMsg() << EI_Message(
"Interpolation of IntersectionPoints with non line first element.") );
52 THROW( ExcAssertMsg() << EI_Message(
"Interpolation of IntersectionPoints with non matching second element type.") );
55 for(
unsigned int i = 0; i < el2_coord.size(); ++i) {
78 fprintf(out_file,
" %d", size_0);
82 i_point !=
i_points.end();++i_point) {
85 int size_1 = (*i_point)->coord1.size();
86 fprintf(out_file,
" %d", size_1);
88 l_coord != (*i_point)->coord1.end();++l_coord) {
90 fprintf(out_file,
" %1.7e", f_1);
94 int size_2 = (*i_point)->coord2.size();
95 fprintf(out_file,
" %d", size_2);
97 l_coord != (*i_point)->coord2.end();++l_coord) {
99 fprintf(out_file,
" %1.7e", f_2);
106 i_point !=
i_points.end();++i_point) {
bool eps_double_equal(double a, double b)
std::vector< double > coord1
void print(FILE *out_file)
IntersectionLocal(IntersectionType i_type)
const std::vector< double > & el2_coord() const
FMT_FUNC int fprintf(std::ostream &os, CStringRef format, ArgList args)
void add_local_coord(const std::vector< double > &coordin1, const std::vector< double > &coordin2)
std::vector< double > coord2
void add_local_point(IntersectionPoint *InPoint)
const std::vector< double > & el1_coord() const
static int numberInstance
std::vector< IntersectionPoint * > i_points
#define THROW(whole_exception_expr)
Wrapper for throw. Saves the throwing point.
IntersectionPoint * interpolate(const IntersectionPoint &A1, const IntersectionPoint &A2, double t)
bool operator==(const IntersectionPoint &)