<commit_before>﻿using System;
using NUnit.Framework;

namespace SharpFE.Examples.Membrane
{
	[TestFixture]
	public class Triangle
	{
		[Test]
		public void TwoTriangleWall()
		{
			FiniteElementModel model = new FiniteElementModel(ModelType.Membrane3D); // we will create and analyze a 2D slab system
			FiniteElementNode node1 = model.NodeFactory.Create(0.0, 0.0, 0.0); // create a node at the origin
			model.ConstrainNode(node1, DegreeOfFreedom.X); // constrain the node from moving in the x-axis<commit_msg>ASCII diagram added to Triangle example<commit_after>﻿using System;
using NUnit.Framework;

namespace SharpFE.Examples.Membrane
{
	[TestFixture]
	public class Triangle
	{
	    /// <summary>
	    /// 3-----4
	    /// |\    |
	    /// | \   |
	    /// |  \  |
	    /// |   \ |
	    /// |    \|
	    /// 1-----2
	    /// </summary>
		[Test]
		public void TwoTriangleWall()
		{
			FiniteElementModel model = new FiniteElementModel(ModelType.Membrane3D); // we will create and analyze a 2D slab system
			FiniteElementNode node1 = model.NodeFactory.Create(0.0, 0.0, 0.0); // create a node at the origin
			model.ConstrainNode(node1, DegreeOfFreedom.X); // constrain the node from moving in the x-axis
{'fraction_non_alphanumeric': 0.1252072968490879, 'fraction_numerical': 0.01990049751243781, 'mean_word_length': 2.819620253164557, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '6953004', 'n_tokens_mistral': 439, 'n_tokens_neox': 387, 'n_words': 104}