Skip to content

fit087/scientific_programming

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Scientific Programming

Build Status

2016/MAY/04

Scientific Programming contain the homeworks of C++, Qt and Fortran Introductory course from the Rio de Janeiro's Federal University.

This project contains exercices with the Gauss-Legendre Quadrature.

 \int_{-1}^1 f(x ) dx \approx \sum_{i=1}^n w_i \cdot f(x_i )

equation

img

##Introduction

This project join the academic works from a Master of Science Course.

It is mostly written in C++ and Fortran and has a little piece in Python. The source code is placed in the scr directory. Files and images are in the data directory. Translation files are in the po directory.

##Contains

  • Gauss-Legendre Quadrature (Fortran)
  • Gauss-Legendre Quadrature (C++)
  • Binary files (C++) in binar.cpp and
  • Dynamic Memory Allocation (C++) in datadyn.cpp and ponteiro.cpp
  • Dynamic-link library (DLL) in dll.cpp
  • C++ Program use Fortran subroutine in c_using_fortran.cpp and matrix_multiply.f95