macro_element_free_boundary_poisson.cc File Reference
#include "generic.h"
#include "poisson.h"
#include "meshes/fish_mesh.h"
#include "circle_as_generalised_element.h"

Classes

class  MyMacroElementNodeUpdateRefineableFishMesh< ELEMENT >
 Refineable, fish-shaped mesh with MacroElement-based node update. More...
 
class  FreeBoundaryPoissonProblem< ELEMENT >
 

Namespaces

 ConstSourceForPoisson
 Namespace for const source term in Poisson equation.
 

Functions

void ConstSourceForPoisson::get_source (const Vector< double > &x, double &source)
 Const source function. More...
 
int main ()
 Driver for "free-boundary" fish poisson solver with adaptation. More...
 

Function Documentation

◆ main()

int main ( )

Driver for "free-boundary" fish poisson solver with adaptation.

309 {
310 
311  // Shorthand for element type
313  ELEMENT;
314 
315  // Build problem
317 
318  // Do some uniform mesh refinement first
319  problem.refine_uniformly();
320  problem.refine_uniformly();
321 
322  // Solve/doc fully coupled problem, allowing for up to two spatial
323  // adaptations.
324  unsigned max_solve=2;
325  problem.newton_solve(max_solve);
326  problem.doc_solution();
327 
328 } // end of main
Definition: macro_element_free_boundary_poisson.cc:147
Definition: macro_element_node_update_element.h:265
Constructor for SteadyAxisymAdvectionDiffusion problem
Definition: steady_axisym_advection_diffusion.cc:213

References problem.