<commit_before>#include "tetrahedral.hpp"

///////////////////////////////
// Tetrahedral, cartesian 3D //
///////////////////////////////

TetrahedralCartesian3D_Cell::TetrahedralCartesian3D_Cell(TetrahedralCartesian3D_Cell_t &initial_cell)
{
	cell = &initial_cell;
}

list TetrahedralCartesian3D_Cell::get_vertices()
{
	list vertices;
	return vertices;
}

///////////////////////////////////
// Tetrahedral, cylindrical (3D) //
///////////////////////////////////

TetrahedralCylindrical3D_Cell::TetrahedralCylindrical3D_Cell(TetrahedralCylindrical3D_Cell_t &initial_cell)
{
	cell = &initial_cell;
}

list TetrahedralCylindrical3D_Cell::get_vertices()
{
	list vertices;
	return vertices;
}

/////////////////////////////////
// Tetrahedral, spherical (3D) //
/////////////////////////////////

TetrahedralSpherical3D_Cell::TetrahedralSpherical3D_Cell(TetrahedralSpherical3D_Cell_t &initial_cell)
{
	cell = &initial_cell;
}

list TetrahedralSpherical3D_Cell::get_vertices()
{
	list vertices;
	return vertices;
}<commit_msg>Implement method 'get_vertices' for tetrahedral cells.<commit_after>#include "tetrahedral.hpp"

#include "../vertices/tetrahedral.hpp"

///////////////////////////////
// Tetrahedral, cartesian 3D //
///////////////////////////////

TetrahedralCartesian3D_Cell::TetrahedralCartesian3D_Cell(TetrahedralCartesian3D_Cell_t &initial_cell)
{
	cell = &initial_cell;
}

list TetrahedralCartesian3D_Cell::get_vertices()
{
	list vertices;
	
	typedef TetrahedralCartesian3D_Cell_t                                                   CellType;
	typedef viennagrid::result_of::element_range<CellType, viennagrid::vertex_tag>::type    VertexOnElementRange;
	typedef viennagrid::result_of::iterator<VertexOnElementRange>::type                     VertexOnElementIterator;
	
	VertexOnElementRange vertices_on_element = viennagrid::elements<viennagrid::vertex_tag>(*cell);
	for (VertexOnElementIterator voeit = vertices_on_element.begin();
	                             voeit != vertices_on_element.end();
	                             ++voeit)
	{
		vertices.append<TetrahedralCartesian3D_Vertex>(TetrahedralCartesian3D_Vertex(*voeit));
	}
	
	return vertices;
}

///////////////////////////////////
// Tetrahedral, cylindrical (3D) //
///////////////////////////////////

TetrahedralCylindrical3D_Cell::TetrahedralCylindrical3D_Cell(TetrahedralCylindrical3D_Cell_t &initial_cell)
{
	cell = &initial_cell;
}

list TetrahedralCylindrical3D_Cell::get_vertices()
{
	list vertices;
	
	typedef TetrahedralCylindrical3D_Cell_t                                                 CellType;
	typedef viennagrid::result_of::element_range<CellType, viennagrid::vertex_tag>::type    VertexOnElementRange;
	typedef viennagrid::result_of::iterator<VertexOnElementRange>::type                     VertexOnElementIterator;
	
	VertexOnElementRange vertices_on_element = viennagrid::elements<viennagrid::vertex_tag>(*cell);
	for (VertexOnElementIterator voeit = vertices_on_element.begin();
	                             voeit != vertices_on_element.end();
	                             ++voeit)
	{
		vertices.append<TetrahedralCylindrical3D_Vertex>(TetrahedralCylindrical3D_Vertex(*voeit));
	}
	
	return vertices;
}

/////////////////////////////////
// Tetrahedral, spherical (3D) //
/////////////////////////////////

TetrahedralSpherical3D_Cell::TetrahedralSpherical3D_Cell(TetrahedralSpherical3D_Cell_t &initial_cell)
{
	cell = &initial_cell;
}

list TetrahedralSpherical3D_Cell::get_vertices()
{
	list vertices;
	
	typedef TetrahedralSpherical3D_Cell_t                                                   CellType;
	typedef viennagrid::result_of::element_range<CellType, viennagrid::vertex_tag>::type    VertexOnElementRange;
	typedef viennagrid::result_of::iterator<VertexOnElementRange>::type                     VertexOnElementIterator;
	
	VertexOnElementRange vertices_on_element = viennagrid::elements<viennagrid::vertex_tag>(*cell);
	for (VertexOnElementIterator voeit = vertices_on_element.begin();
	                             voeit != vertices_on_element.end();
	                             ++voeit)
	{
		vertices.append<TetrahedralSpherical3D_Vertex>(TetrahedralSpherical3D_Vertex(*voeit));
	}
	
	return vertices;
}
{'fraction_non_alphanumeric': 0.17651245551601424, 'fraction_numerical': 0.009252669039145907, 'mean_word_length': 2.711267605633803, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4480196', 'n_tokens_mistral': 1379, 'n_tokens_neox': 1243, 'n_words': 152}