My master thesis

Scalable solving of boundary element methods utilizing the Green cross approximation method and GPUs

This project is maintained by Bennet Carstensen

Documentation

greencross.c File Reference
#include "greencross.h"
#include "kernels.h"
#include "aca.h"
#include "gaussquad.h"
#include "singquad1d.h"
#include "singquad2d.h"

Functions

INLINE_PREFIX uint get_max_lvl_clusterbasis (pclusterbasis cb, const uint level)
 Retrieve the maximum level of a cluster basis. More...
 
INLINE_PREFIX void set_on_lvl_info_clusterbasis (pclusterbasis cb, const uint level, uint *on_level)
 Retrieve the number of cluster basis for each level from a given root cluster basis. More...
 
INLINE_PREFIX void set_per_level_clusterbasis (pclusterbasis cb, const uint level, uint *lvl_idx, pclusterbasis **cb_per_level)
 Retrieve the cluster bases of a given root cluster basis divided into the level they are on. More...
 
INLINE_PREFIX pclustergeometry build_clustergeometry_greencross (const void *data, const uint dim, uint **idx)
 Creats a clustergeometry object from a triangular mesh. More...
 
uint uipow (uint base, uint exp)
 
void init_greencross (pgreencross gc, uint dim)
 Initilize components related to the dimension of the problem and zero initializes all other components of the given greencross object gc. More...
 
void uninit_greencross (pgreencross gc)
 Uninitilize a greencross object. More...
 
pgreencross new_laplace2d_greencross (pcurve2d gr, uint res, void *eta, uint q, uint m)
 Prepares a greencross object for approximating the integral equation \( \int\limits_{\Omega} -\frac{1}{2 \pi} \log{\left \Vert x - y \right \Vert_2} u(y) dy = f(x) \), where \(\Omega \subset \mathbb{R}^2 \). More...
 
void del_greencross (pgreencross gc)
 Free memory and set pointer to NULL of the corresponding _greencross greencross object gc. More...
 
void nearfield_greencross (pcgreencross gc, const uint rsize, const uint *ridx, const uint csize, const uint *cidx, pamatrix G)
 Constructs the matrix resulting from the Galerkin discretization of a variational formulation described in gc. More...
 
void fill_green_left_greencross (pcgreencross gc, pccluster c, pamatrix A)
 
void fill_green_right_greencross (pcgreencross gc, pccluster t, pccluster s, pamatrix B)
 
void green_cross_approximation (pcgreencross gc, ph2matrix h2)
 Constructs a Green cross approximation of a problem given by a greencross, represented as an \(\mathcal{H}^{2}\)-Matrix [1]. More...
 

Detailed Description

Author
Bennet Carstensen
Date
2017

Function Documentation

◆ uipow()

uint uipow ( uint  base,
uint  exp 
)