Code Monkey home page Code Monkey logo

libpeec's Introduction

Libpeec

The library provides core functions for the development of a triangular-mesh-based PEEC code. It has been written in the context of my master's degree thesis in electrical engineering.

Project structure

Two main folders

  • 'src', where all the source code is stored.
  • 'examples', where some examples can be found.

Building and installing

The library can be built to compute the coefficients with two different basis functions: RWG or Mackenzie. The default behaviour is to use RWG, however this can be changed by adding '-D MACKENZIE' to the variable 'CC_OPTS' defined in the Makefile. An additional possibility is to choose a rectangular approximation, instead of the default trapezoidal, for partial inductance line integrals, adding '-D RECT_APPROX'.

A Makefile is provided in the 'src' directory. This Makefile has the ability to build and install the target libpeec.a. In the 'src' directory, type

make

This will build the target in the project root directory, which can be installed via the rule install, type

make install

The default install path for the static library is '/usr/local/lib', while for include files is '/usr/local/include', but both can easily be changed by editing the variables 'LIBDIR' and 'INCLUDEDIR' in Makefile.

The project documentation can be generated, provided that Doxygen is correctly installed, with the command

doxygen

Usage

Usage information can be found in the Doxygen generated documentation.

Building examples

In the 'examples' directory, type

make

The examples will be generated, provided that library is correctly installed.

libpeec's People

Contributors

albertoscotta avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.