Init_Solution_mult (initialize on subdomains) + finer mesh

This commit is contained in:
dino.celebic 2026-01-23 17:43:13 +01:00
commit bd4477f062
7 changed files with 46889 additions and 2124 deletions

View file

@ -199,6 +199,17 @@ public:
const std::function<double(double, double, double)> &func1,
const std::function<double(double, double, double)> &func2 ) const;
/**
* Initialize values in vector valued vector @p v via functions @p func?(x,y) only
* on elements (all their vertices) that belong to subdomain @p target_sd
* @param[in] v vector
* @param[in] target_sd integer of target subdomain.
* @param[in] func function of (x,y) returning a double value.
*/
void Init_Solution_mult(std::vector<double> &v,
int target_sd,
const std::function<double(double, double)> &func) const;
/**
* Prints the information for a finite element mesh
*/