SCOREC core
Parallel unstructured mesh tools
Classes | Namespaces | Functions
maInput.h File Reference

MeshAdapt user configuration. More...

Go to the source code of this file.

Classes

class  ma::Input
 User configuration for a MeshAdapt run. More...
 

Namespaces

 ma
 All MeshAdapt symbols.
 

Functions

const Input * ma::configure (Mesh *m, AnisotropicFunction *f, SolutionTransfer *s=0, bool logInterpolation=true)
 generate a configuration based on an anisotropic function. More...
 
const Input * ma::configure (Mesh *m, IsotropicFunction *f, SolutionTransfer *s=0)
 generate a configuration based on an isotropic function More...
 
const Input * ma::configure (Mesh *m, apf::Field *sizes, apf::Field *frames, SolutionTransfer *s=0, bool logInterpolation=true)
 generate a configuration based on anisotropic fields More...
 
const Input * ma::configure (Mesh *m, apf::Field *size, SolutionTransfer *s=0)
 generate a configuration based on an isotropic field More...
 
const Input * ma::configureUniformRefine (Mesh *m, int n=1, SolutionTransfer *s=0)
 generate a uniform refinement configuration
 
const Input * ma::configureMatching (Mesh *m, int n=1, SolutionTransfer *s=0)
 generate a matched uniform refinement configuration
 
const Input * ma::configureIdentity (Mesh *m, SizeField *f=0, SolutionTransfer *s=0)
 generate a no-op configuration
 
void ma::validateInput (Input *in)
 used internally, but users can call this if they want
 
Input * ma::makeAdvanced (const Input *in)
 creates a new non-constant Input for advanced users
 

Detailed Description

MeshAdapt user configuration.

Usually, users of MeshAdapt need to tweak its behavior slightly from the default configuration. For this purpose, the ma::Input object is the fully configurable way to interact with MeshAdapt. Users should call one of the configure functions in this file, then edit the options in the resulting ma::Input object, then give this object to the adapt function.

Definition in file maInput.h.