Init_Solution_mult (initialize on subdomains) + finer mesh
This commit is contained in:
parent
b1303a8b4a
commit
bd4477f062
7 changed files with 46889 additions and 2124 deletions
|
|
@ -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
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue