MoDeNa
1.0
Software framework facilitating sequential multi-scale modelling
|
Functions governing creation of struts. More...
#include "globals.hh"
#include "geometry.hh"
#include "edges.hh"
#include "nodes.hh"
#include <gsl/gsl_errno.h>
#include <gsl/gsl_math.h>
#include <gsl/gsl_min.h>
#include <iostream>
Go to the source code of this file.
Functions | |
double | fn1 (double x, void *p) |
Objective function for optimization. We want to have certain strut porosity. More... | |
int | optim (void *params, double &m, double &a, double &b, bool report) |
GSL minimizer for univariate scalar function. More... | |
Functions governing creation of struts.
Definition in file struts.cc.
double fn1 | ( | double | x, |
void * | p | ||
) |
Objective function for optimization. We want to have certain strut porosity.
[in] | x | independent variable (dstrut ) |
[in] | p | function parameters (fn1_params ) |
int optim | ( | void * | params, |
double & | m, | ||
double & | a, | ||
double & | b, | ||
bool | report | ||
) |