<commit_before>#ifndef SCENE
#define SCENE

#include <vector>
#include "MaterialElement.h"


class Scene
{


public:

	//Constructors and destructor
	Scene();
	~Scene();

	//Accessors
	MaterialElement* getElement(unsigned int i);
	double getTime();

	//Display
	void consoleShow();

	//Modifier
	void addExternalAction(Vect F, unsigned int place);	// adds force to element i starting from 0
	void update(double dt);					// calculates the scene configuration in dt seconds
	void simulate(double step, double duration);		// simulates the scene of certain duration and increment


	//----------Model interface-----------------------
	void addMatPoint();
	void addMatPoint(double x, double y, double z, double mass = 0, double charge = 0);

private:
	std::vector<MaterialElement*> S;
	double Time = 0;

};
<commit_msg>updated to match MaterialElement changes<commit_after>#ifndef SCENE
#define SCENE

#include <vector>
#include "MaterialElement.h"


class Scene
{
public:

	//Constructors and destructor
	Scene();
	~Scene();

	//Accessors
	MaterialElement* getElement(unsigned int i);
	double getTime();

	//Display
	void consoleShow();

	//Modifier
	void addExternalAction(unsigned int place, Vect F=Vect(),Torsor T=Torsor());	// adds force to element i starting from 0
	void addExternalAction(unsigned int place, Torsor T);
	void update(double dt);								// calculates the scene configuration in dt seconds
	void simulate(double step, double duration);					// simulates the scene of certain duration and increment


	//---------- Model interface-----------------------
	void addMatPoint();
	void addMatPoint(Point p, Vect velocity=Vect(0,0,0), double mass=0, double charge_=0);

	void addSolid();
	void addSolid(Point p, Vect velocity = Vect(0, 0, 0), double mass = 0, double charge_ = 0);

private:
	std::vector<MaterialElement*> S;
	double Time = 0;

};

{'fraction_non_alphanumeric': 0.13962264150943396, 'fraction_numerical': 0.00862533692722372, 'mean_word_length': 3.7106598984771573, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4393478', 'n_tokens_mistral': 588, 'n_tokens_neox': 540, 'n_words': 197}