Skip to content

Øvinger/prosjekt i emnet TMA4320 - Introduksjons til vitenskapelige beregninger

Notifications You must be signed in to change notification settings

xenakistheo/TMA4320

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

356 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TMA4320 – Introduction to Scientific Computing

Project Hand-ins (Spring 2024)

This repository contains the three project hand-ins for the course TMA4320 – Introduksjon til vitenskapelige beregninger at the Norwegian University of Science and Technology (NTNU).

The projects cover Monte Carlo methods, particle transport, and neural networks / transformers, and are implemented as Jupyter notebooks.

Authors

  • Henrik S. Grønlund
  • Magnus Ulmo Rønneseth
  • Theodoros Xenakis

Spring 2024.


Project Overview

The repository consists of three independent projects:

1. Monte Carlo Simulation of Polymer Folding

A Monte Carlo based study of polymer folding on a 2D lattice. The project introduces a numerical representation of polymers and applies stochastic sampling techniques to investigate polymer configurations and energy states.


2. Transformer Model for Sequence Prediction

This project explores transformer-based neural networks for sequence prediction. A synthetic dataset is constructed, and a transformer model is trained to learn simple arithmetic relationships.


3. Particle Transport with Ocean Currents

A numerical simulation of particle transport driven by ocean currents, motivated by real-world maritime and environmental applications. Particles are advected using velocity fields to study transport patterns.


Code Structure

The repository contains the following notebooks:

  • polymers_handin.ipynb – Monte Carlo simulations of polymer folding (Project 1)
  • neuralnet_handin.ipynb – Transformer model for sequence prediction (Project 2)
  • oceanparticles_handin.ipynb – Particle transport with ocean currents (Project 3)

About

Øvinger/prosjekt i emnet TMA4320 - Introduksjons til vitenskapelige beregninger

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •