<commit_before>#ifndef SCENE
#define SCENE

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

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

	public:

	//Constructors and destructor
	Scene();
	~Scene();
	
	//Accessors
	MaterialElement* getElement(unsigned int i);
	double getTime();

	//Display
	void consoleShow();

	//Modifier
    	void setForce(Force 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);
	
};


#endif
<commit_msg>Update Scene.h<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 setForce(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;

};


#endif

{'fraction_non_alphanumeric': 0.14038231780167265, 'fraction_numerical': 0.0047789725209080045, 'mean_word_length': 3.3281653746770026, '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': '2176476', 'n_tokens_mistral': 526, 'n_tokens_neox': 481, 'n_words': 179}