Portage::MMDriver< Search, Intersect, Interpolate, D, SourceMesh_Wrapper, SourceState_Wrapper, TargetMesh_Wrapper, TargetState_Wrapper, InterfaceReconstructorType, Matpoly_Splitter, Matpoly_Clipper > Class Template Reference

MMDriver provides the API to mapping multi-material data from one mesh to another. More...

#include <mmdriver.h>

Public Member Functions

 MMDriver (SourceMesh_Wrapper const &sourceMesh, SourceState_Wrapper const &sourceState, TargetMesh_Wrapper const &targetMesh, TargetState_Wrapper &targetState)
 Constructor for running the interpolation driver. More...
 
 MMDriver (const MMDriver &)=delete
 Copy constructor (disabled) More...
 
MMDriveroperator= (const MMDriver &)=delete
 Assignment operator (disabled) More...
 
 ~MMDriver ()=default
 Destructor. More...
 
 MMDriver (MMDriver &&) noexcept=default
 Enable move semantics. More...
 
void set_remap_var_names (std::vector< std::string > const &remap_var_names)
 Specify the names of the variables to be interpolated. More...
 
void set_remap_var_names (std::vector< std::string > const &source_remap_var_names, std::vector< std::string > const &target_remap_var_names)
 Specify the names of the variables to be interpolated. More...
 
void set_limiter (Limiter_type limiter)
 set limiter for all variables More...
 
void set_bnd_limiter (Boundary_Limiter_type bnd_limiter)
 set boundary limiter for all variables More...
 
void set_limiter (std::string const &source_var_name, Limiter_type limiter)
 set limiter for a variable More...
 
void set_bnd_limiter (std::string const &source_var_name, Boundary_Limiter_type bnd_limiter)
 set boundary limiter for a variable More...
 
void set_partial_fixup_type (Partial_fixup_type fixup_type)
 set repair method in partially filled cells for all variables More...
 
void set_partial_fixup_type (std::string const &target_var_name, Partial_fixup_type fixup_type)
 set repair method in partially filled cells for all variables More...
 
void set_empty_fixup_type (Empty_fixup_type fixup_type)
 set repair method in empty cells for all variables More...
 
void set_empty_fixup_type (std::string const &target_var_name, Empty_fixup_type fixup_type)
 set repair method in empty cells for all variables More...
 
void set_max_fixup_iter (int maxiter)
 
void set_num_tols (const double min_absolute_distance, const double min_absolute_volume)
 Set core numerical tolerances. More...
 
void set_num_tols (const NumericTolerances_t &num_tols)
 Set all numerical tolerances. More...
 
template<typename T >
void set_remap_var_bounds (std::string target_var_name, T lower_bound, T upper_bound)
 set the bounds of variable to be remapped on target More...
 
template<typename T >
void set_conservation_tolerance (std::string target_var_name, T conservation_tol)
 set conservation tolerance of variable to be remapped on target More...
 
std::vector< std::string > source_remap_var_names () const
 Get the names of the variables to be remapped from the source mesh. More...
 
std::vector< std::string > target_remap_var_names () const
 Get the names of the variables to be remapped to the target mesh. More...
 
unsigned int dim () const
 Get the dimensionality of the meshes. More...
 
template<class SourceMesh_Wrapper2 , class SourceState_Wrapper2 >
int cell_remap (SourceMesh_Wrapper2 const &source_mesh2, SourceState_Wrapper2 const &source_state2, std::vector< std::string > const &src_meshvar_names, std::vector< std::string > const &trg_meshvar_names, std::vector< std::string > const &src_matvar_names, std::vector< std::string > const &trg_matvar_names, Wonton::Executor_type const *executor=nullptr)
 remap for a given set of MESH and MATERIAL variables on CELLS More...
 
template<class SourceMesh_Wrapper2 , class SourceState_Wrapper2 >
int node_remap (SourceMesh_Wrapper2 const &source_mesh2, SourceState_Wrapper2 const &source_state2, std::vector< std::string > const &src_meshvar_names, std::vector< std::string > const &trg_meshvar_names, Wonton::Executor_type const *executor=nullptr)
 remap for a given set of MESH variables on NODES More...
 
template<class SourceState_Wrapper2 , Entity_kind onwhat>
void compute_bounds (SourceState_Wrapper2 const &source_state2, std::vector< std::string > const &src_meshvar_names, std::vector< std::string > const &trg_meshvar_names, Wonton::Executor_type const *executor=nullptr)
 Compute mismatch fixup bounds dynamically. More...
 
int run (Wonton::Executor_type const *executor=nullptr, std::string *errmsg=nullptr)
 Execute the remapping process. More...
 

Detailed Description

template<template< int, Entity_kind, class, class > class Search, template< Entity_kind, class, class, class, template< class, int, class, class > class, class, class > class Intersect, template< int, Entity_kind, class, class, class, class, class, template< class, int, class, class > class, class, class, class=Wonton::DefaultCoordSys > class Interpolate, int D, class SourceMesh_Wrapper, class SourceState_Wrapper, class TargetMesh_Wrapper = SourceMesh_Wrapper, class TargetState_Wrapper = SourceState_Wrapper, template< class, int, class, class > class InterfaceReconstructorType = DummyInterfaceReconstructor, class Matpoly_Splitter = void, class Matpoly_Clipper = void>
class Portage::MMDriver< Search, Intersect, Interpolate, D, SourceMesh_Wrapper, SourceState_Wrapper, TargetMesh_Wrapper, TargetState_Wrapper, InterfaceReconstructorType, Matpoly_Splitter, Matpoly_Clipper >

MMDriver provides the API to mapping multi-material data from one mesh to another.

Template Parameters
SearchA search method that takes the dimension, source mesh class and target mesh class as template parameters
IntersectA polyhedron-polyhedron intersection class that takes the source and taget mesh classes as template parameters
InterpolateAn interpolation class that takes the source and target mesh classes, the source state class (that stores source field values), the kind of entity the interpolation is on and the dimension of the problem as template parameters
SourceMesh_WrapperA lightweight wrapper to a specific input mesh implementation that provides certain functionality.
SourceState_WrapperA lightweight wrapper to a specific input state manager implementation that provides certain functionality.
TargetMesh_WrapperA lightweight wrapper to a specific target mesh implementation that provides certain functionality.
TargetState_WrapperA lightweight wrapper to a specific target state manager implementation that provides certain functionality.
InterfaceReconstructorTypeAn interface reconstruction class that takes the raw interface reconstruction method, the dimension of the problem and the source mesh class as template parameters

Constructor & Destructor Documentation

◆ MMDriver() [1/3]

template<template< int, Entity_kind, class, class > class Search, template< Entity_kind, class, class, class, template< class, int, class, class > class, class, class > class Intersect, template< int, Entity_kind, class, class, class, class, class, template< class, int, class, class > class, class, class, class=Wonton::DefaultCoordSys > class Interpolate, int D, class SourceMesh_Wrapper , class SourceState_Wrapper , class TargetMesh_Wrapper = SourceMesh_Wrapper, class TargetState_Wrapper = SourceState_Wrapper, template< class, int, class, class > class InterfaceReconstructorType = DummyInterfaceReconstructor, class Matpoly_Splitter = void, class Matpoly_Clipper = void>
Portage::MMDriver< Search, Intersect, Interpolate, D, SourceMesh_Wrapper, SourceState_Wrapper, TargetMesh_Wrapper, TargetState_Wrapper, InterfaceReconstructorType, Matpoly_Splitter, Matpoly_Clipper >::MMDriver ( SourceMesh_Wrapper const &  sourceMesh,
SourceState_Wrapper const &  sourceState,
TargetMesh_Wrapper const &  targetMesh,
TargetState_Wrapper &  targetState 
)
inline

Constructor for running the interpolation driver.

Parameters
[in]sourceMeshA SourceMesh_Wrapper to the source mesh.
[in]sourceStateA SourceState_Wrapperfor the data that lives on the source mesh.
[in]targetMeshA TargetMesh_Wrapper to the target mesh.
[in,out]targetStateA TargetState_Wrapper for the data that will be mapped to the target mesh.

◆ MMDriver() [2/3]

template<template< int, Entity_kind, class, class > class Search, template< Entity_kind, class, class, class, template< class, int, class, class > class, class, class > class Intersect, template< int, Entity_kind, class, class, class, class, class, template< class, int, class, class > class, class, class, class=Wonton::DefaultCoordSys > class Interpolate, int D, class SourceMesh_Wrapper , class SourceState_Wrapper , class TargetMesh_Wrapper = SourceMesh_Wrapper, class TargetState_Wrapper = SourceState_Wrapper, template< class, int, class, class > class InterfaceReconstructorType = DummyInterfaceReconstructor, class Matpoly_Splitter = void, class Matpoly_Clipper = void>
Portage::MMDriver< Search, Intersect, Interpolate, D, SourceMesh_Wrapper, SourceState_Wrapper, TargetMesh_Wrapper, TargetState_Wrapper, InterfaceReconstructorType, Matpoly_Splitter, Matpoly_Clipper >::MMDriver ( const MMDriver< Search, Intersect, Interpolate, D, SourceMesh_Wrapper, SourceState_Wrapper, TargetMesh_Wrapper, TargetState_Wrapper, InterfaceReconstructorType, Matpoly_Splitter, Matpoly_Clipper > &  )
delete

Copy constructor (disabled)

◆ ~MMDriver()

template<template< int, Entity_kind, class, class > class Search, template< Entity_kind, class, class, class, template< class, int, class, class > class, class, class > class Intersect, template< int, Entity_kind, class, class, class, class, class, template< class, int, class, class > class, class, class, class=Wonton::DefaultCoordSys > class Interpolate, int D, class SourceMesh_Wrapper , class SourceState_Wrapper , class TargetMesh_Wrapper = SourceMesh_Wrapper, class TargetState_Wrapper = SourceState_Wrapper, template< class, int, class, class > class InterfaceReconstructorType = DummyInterfaceReconstructor, class Matpoly_Splitter = void, class Matpoly_Clipper = void>
Portage::MMDriver< Search, Intersect, Interpolate, D, SourceMesh_Wrapper, SourceState_Wrapper, TargetMesh_Wrapper, TargetState_Wrapper, InterfaceReconstructorType, Matpoly_Splitter, Matpoly_Clipper >::~MMDriver ( )
default

Destructor.

◆ MMDriver() [3/3]

template<template< int, Entity_kind, class, class > class Search, template< Entity_kind, class, class, class, template< class, int, class, class > class, class, class > class Intersect, template< int, Entity_kind, class, class, class, class, class, template< class, int, class, class > class, class, class, class=Wonton::DefaultCoordSys > class Interpolate, int D, class SourceMesh_Wrapper , class SourceState_Wrapper , class TargetMesh_Wrapper = SourceMesh_Wrapper, class TargetState_Wrapper = SourceState_Wrapper, template< class, int, class, class > class InterfaceReconstructorType = DummyInterfaceReconstructor, class Matpoly_Splitter = void, class Matpoly_Clipper = void>
Portage::MMDriver< Search, Intersect, Interpolate, D, SourceMesh_Wrapper, SourceState_Wrapper, TargetMesh_Wrapper, TargetState_Wrapper, InterfaceReconstructorType, Matpoly_Splitter, Matpoly_Clipper >::MMDriver ( MMDriver< Search, Intersect, Interpolate, D, SourceMesh_Wrapper, SourceState_Wrapper, TargetMesh_Wrapper, TargetState_Wrapper, InterfaceReconstructorType, Matpoly_Splitter, Matpoly_Clipper > &&  )
defaultnoexcept

Enable move semantics.

Member Function Documentation

◆ cell_remap()

template<template< int, Entity_kind, class, class > class Search, template< Entity_kind, class, class, class, template< class, int, class, class > class, class, class > class Intersect, template< int, Entity_kind, class, class, class, class, class, template< class, int, class, class > class, class, class, class=Wonton::DefaultCoordSys > class Interpolate, int D, class SourceMesh_Wrapper , class SourceState_Wrapper , class TargetMesh_Wrapper , class TargetState_Wrapper , template< class, int, class, class > class InterfaceReconstructorType, class Matpoly_Splitter , class Matpoly_Clipper >
template<class SourceMesh_Wrapper2 , class SourceState_Wrapper2 >
int Portage::MMDriver< Search, Intersect, Interpolate, D, SourceMesh_Wrapper, SourceState_Wrapper, TargetMesh_Wrapper, TargetState_Wrapper, InterfaceReconstructorType, Matpoly_Splitter, Matpoly_Clipper >::cell_remap ( SourceMesh_Wrapper2 const &  source_mesh2,
SourceState_Wrapper2 const &  source_state2,
std::vector< std::string > const &  src_meshvar_names,
std::vector< std::string > const &  trg_meshvar_names,
std::vector< std::string > const &  src_matvar_names,
std::vector< std::string > const &  trg_matvar_names,
Wonton::Executor_type const *  executor = nullptr 
)

remap for a given set of MESH and MATERIAL variables on CELLS

Template Parameters
SourceMesh_Wrapper2May be the mesh wrapper sent into MMDriver or the Flat_Mesh_Wrapper created for redistribution
SourceState_Wrapper2May be the state wrapper sent into MMDriver or the Flat_State_Wrapper created for redistribution
entity_kindKind of entity that variables live on
Parameters
source_meshvar_namesnames of remap variables on source mesh
target_meshvar_namesnames of remap variables on target mesh
source_matvar_namesnames of remap variables on materials of source mesh
target_matvar_namesnames of remap variables on materials of target mesh
executorpointer to Serial Executor (generally not needed but introduced for future proofing)
Returns
status of remap (1 if successful, 0 if not)

◆ compute_bounds()

template<template< int, Entity_kind, class, class > class Search, template< Entity_kind, class, class, class, template< class, int, class, class > class, class, class > class Intersect, template< int, Entity_kind, class, class, class, class, class, template< class, int, class, class > class, class, class, class=Wonton::DefaultCoordSys > class Interpolate, int D, class SourceMesh_Wrapper , class SourceState_Wrapper , class TargetMesh_Wrapper = SourceMesh_Wrapper, class TargetState_Wrapper = SourceState_Wrapper, template< class, int, class, class > class InterfaceReconstructorType = DummyInterfaceReconstructor, class Matpoly_Splitter = void, class Matpoly_Clipper = void>
template<class SourceState_Wrapper2 , Entity_kind onwhat>
void Portage::MMDriver< Search, Intersect, Interpolate, D, SourceMesh_Wrapper, SourceState_Wrapper, TargetMesh_Wrapper, TargetState_Wrapper, InterfaceReconstructorType, Matpoly_Splitter, Matpoly_Clipper >::compute_bounds ( SourceState_Wrapper2 const &  source_state2,
std::vector< std::string > const &  src_meshvar_names,
std::vector< std::string > const &  trg_meshvar_names,
Wonton::Executor_type const *  executor = nullptr 
)
inline

Compute mismatch fixup bounds dynamically.

Template Parameters
SourceState_Wrapper2May be the state wrapper sent into MMDriver or the Flat_State_Wrapper created for redistribution
entity_kindKind of entity that variables live on
Parameters
source_state2source state wrapper
source_meshvar_namesnames of remap variables on source mesh
target_meshvar_namesnames of remap variables on target mesh
sources_and_weightsmesh-mesh intersection weights
executorpointer to Executor

◆ dim()

template<template< int, Entity_kind, class, class > class Search, template< Entity_kind, class, class, class, template< class, int, class, class > class, class, class > class Intersect, template< int, Entity_kind, class, class, class, class, class, template< class, int, class, class > class, class, class, class=Wonton::DefaultCoordSys > class Interpolate, int D, class SourceMesh_Wrapper , class SourceState_Wrapper , class TargetMesh_Wrapper = SourceMesh_Wrapper, class TargetState_Wrapper = SourceState_Wrapper, template< class, int, class, class > class InterfaceReconstructorType = DummyInterfaceReconstructor, class Matpoly_Splitter = void, class Matpoly_Clipper = void>
unsigned int Portage::MMDriver< Search, Intersect, Interpolate, D, SourceMesh_Wrapper, SourceState_Wrapper, TargetMesh_Wrapper, TargetState_Wrapper, InterfaceReconstructorType, Matpoly_Splitter, Matpoly_Clipper >::dim ( ) const
inline

Get the dimensionality of the meshes.

Returns
The dimensionality of the meshes.

◆ node_remap()

template<template< int, Entity_kind, class, class > class Search, template< Entity_kind, class, class, class, template< class, int, class, class > class, class, class > class Intersect, template< int, Entity_kind, class, class, class, class, class, template< class, int, class, class > class, class, class, class=Wonton::DefaultCoordSys > class Interpolate, int D, class SourceMesh_Wrapper , class SourceState_Wrapper , class TargetMesh_Wrapper , class TargetState_Wrapper , template< class, int, class, class > class InterfaceReconstructorType, class Matpoly_Splitter , class Matpoly_Clipper >
template<class SourceMesh_Wrapper2 , class SourceState_Wrapper2 >
int Portage::MMDriver< Search, Intersect, Interpolate, D, SourceMesh_Wrapper, SourceState_Wrapper, TargetMesh_Wrapper, TargetState_Wrapper, InterfaceReconstructorType, Matpoly_Splitter, Matpoly_Clipper >::node_remap ( SourceMesh_Wrapper2 const &  source_mesh2,
SourceState_Wrapper2 const &  source_state2,
std::vector< std::string > const &  src_meshvar_names,
std::vector< std::string > const &  trg_meshvar_names,
Wonton::Executor_type const *  executor = nullptr 
)

remap for a given set of MESH variables on NODES

Template Parameters
SourceMesh_Wrapper2May be the mesh wrapper sent into MMDriver or the Flat_Mesh_Wrapper created for redistribution
SourceState_Wrapper2May be the state wrapper sent into MMDriver or the Flat_State_Wrapper created for redistribution
entity_kindKind of entity that variables live on
Parameters
source_meshvar_namesnames of remap variables on source mesh
target_meshvar_namesnames of remap variables on target mesh
executorpointer to Serial Executor (generally not needed but introduced for future proofing)
Returns
status of remap (1 if successful, 0 if not)

◆ operator=()

template<template< int, Entity_kind, class, class > class Search, template< Entity_kind, class, class, class, template< class, int, class, class > class, class, class > class Intersect, template< int, Entity_kind, class, class, class, class, class, template< class, int, class, class > class, class, class, class=Wonton::DefaultCoordSys > class Interpolate, int D, class SourceMesh_Wrapper , class SourceState_Wrapper , class TargetMesh_Wrapper = SourceMesh_Wrapper, class TargetState_Wrapper = SourceState_Wrapper, template< class, int, class, class > class InterfaceReconstructorType = DummyInterfaceReconstructor, class Matpoly_Splitter = void, class Matpoly_Clipper = void>
MMDriver& Portage::MMDriver< Search, Intersect, Interpolate, D, SourceMesh_Wrapper, SourceState_Wrapper, TargetMesh_Wrapper, TargetState_Wrapper, InterfaceReconstructorType, Matpoly_Splitter, Matpoly_Clipper >::operator= ( const MMDriver< Search, Intersect, Interpolate, D, SourceMesh_Wrapper, SourceState_Wrapper, TargetMesh_Wrapper, TargetState_Wrapper, InterfaceReconstructorType, Matpoly_Splitter, Matpoly_Clipper > &  )
delete

Assignment operator (disabled)

◆ run()

template<template< int, Entity_kind, class, class > class Search, template< Entity_kind, class, class, class, template< class, int, class, class > class, class, class > class Intersect, template< int, Entity_kind, class, class, class, class, class, template< class, int, class, class > class, class, class, class=Wonton::DefaultCoordSys > class Interpolate, int D, class SourceMesh_Wrapper , class SourceState_Wrapper , class TargetMesh_Wrapper = SourceMesh_Wrapper, class TargetState_Wrapper = SourceState_Wrapper, template< class, int, class, class > class InterfaceReconstructorType = DummyInterfaceReconstructor, class Matpoly_Splitter = void, class Matpoly_Clipper = void>
int Portage::MMDriver< Search, Intersect, Interpolate, D, SourceMesh_Wrapper, SourceState_Wrapper, TargetMesh_Wrapper, TargetState_Wrapper, InterfaceReconstructorType, Matpoly_Splitter, Matpoly_Clipper >::run ( Wonton::Executor_type const *  executor = nullptr,
std::string *  errmsg = nullptr 
)
inline

Execute the remapping process.

Returns
status of remap (1 if successful, 0 if not)

◆ set_bnd_limiter() [1/2]

template<template< int, Entity_kind, class, class > class Search, template< Entity_kind, class, class, class, template< class, int, class, class > class, class, class > class Intersect, template< int, Entity_kind, class, class, class, class, class, template< class, int, class, class > class, class, class, class=Wonton::DefaultCoordSys > class Interpolate, int D, class SourceMesh_Wrapper , class SourceState_Wrapper , class TargetMesh_Wrapper = SourceMesh_Wrapper, class TargetState_Wrapper = SourceState_Wrapper, template< class, int, class, class > class InterfaceReconstructorType = DummyInterfaceReconstructor, class Matpoly_Splitter = void, class Matpoly_Clipper = void>
void Portage::MMDriver< Search, Intersect, Interpolate, D, SourceMesh_Wrapper, SourceState_Wrapper, TargetMesh_Wrapper, TargetState_Wrapper, InterfaceReconstructorType, Matpoly_Splitter, Matpoly_Clipper >::set_bnd_limiter ( Boundary_Limiter_type  bnd_limiter)
inline

set boundary limiter for all variables

Parameters
bnd_limiterBoundary limiter to use for second order reconstruction (BND_NOLIMITER BND_ZERO_GRADIENT, or BND_BARTH_JESPERSEN))

◆ set_bnd_limiter() [2/2]

template<template< int, Entity_kind, class, class > class Search, template< Entity_kind, class, class, class, template< class, int, class, class > class, class, class > class Intersect, template< int, Entity_kind, class, class, class, class, class, template< class, int, class, class > class, class, class, class=Wonton::DefaultCoordSys > class Interpolate, int D, class SourceMesh_Wrapper , class SourceState_Wrapper , class TargetMesh_Wrapper = SourceMesh_Wrapper, class TargetState_Wrapper = SourceState_Wrapper, template< class, int, class, class > class InterfaceReconstructorType = DummyInterfaceReconstructor, class Matpoly_Splitter = void, class Matpoly_Clipper = void>
void Portage::MMDriver< Search, Intersect, Interpolate, D, SourceMesh_Wrapper, SourceState_Wrapper, TargetMesh_Wrapper, TargetState_Wrapper, InterfaceReconstructorType, Matpoly_Splitter, Matpoly_Clipper >::set_bnd_limiter ( std::string const &  source_var_name,
Boundary_Limiter_type  bnd_limiter 
)
inline

set boundary limiter for a variable

Parameters
target_var_nameSource mesh variable whose gradient is to be limited on the boundary
bnd_limiterBoundary limiter to use for second order reconstruction (BND_NOLIMITER, BND_ZERO_GRADIENT, or BND_BARTH_JESPERSEN))

◆ set_conservation_tolerance()

template<template< int, Entity_kind, class, class > class Search, template< Entity_kind, class, class, class, template< class, int, class, class > class, class, class > class Intersect, template< int, Entity_kind, class, class, class, class, class, template< class, int, class, class > class, class, class, class=Wonton::DefaultCoordSys > class Interpolate, int D, class SourceMesh_Wrapper , class SourceState_Wrapper , class TargetMesh_Wrapper = SourceMesh_Wrapper, class TargetState_Wrapper = SourceState_Wrapper, template< class, int, class, class > class InterfaceReconstructorType = DummyInterfaceReconstructor, class Matpoly_Splitter = void, class Matpoly_Clipper = void>
template<typename T >
void Portage::MMDriver< Search, Intersect, Interpolate, D, SourceMesh_Wrapper, SourceState_Wrapper, TargetMesh_Wrapper, TargetState_Wrapper, InterfaceReconstructorType, Matpoly_Splitter, Matpoly_Clipper >::set_conservation_tolerance ( std::string  target_var_name,
conservation_tol 
)
inline

set conservation tolerance of variable to be remapped on target

Parameters
target_var_nameName of variable in target mesh to limit

◆ set_empty_fixup_type() [1/2]

template<template< int, Entity_kind, class, class > class Search, template< Entity_kind, class, class, class, template< class, int, class, class > class, class, class > class Intersect, template< int, Entity_kind, class, class, class, class, class, template< class, int, class, class > class, class, class, class=Wonton::DefaultCoordSys > class Interpolate, int D, class SourceMesh_Wrapper , class SourceState_Wrapper , class TargetMesh_Wrapper = SourceMesh_Wrapper, class TargetState_Wrapper = SourceState_Wrapper, template< class, int, class, class > class InterfaceReconstructorType = DummyInterfaceReconstructor, class Matpoly_Splitter = void, class Matpoly_Clipper = void>
void Portage::MMDriver< Search, Intersect, Interpolate, D, SourceMesh_Wrapper, SourceState_Wrapper, TargetMesh_Wrapper, TargetState_Wrapper, InterfaceReconstructorType, Matpoly_Splitter, Matpoly_Clipper >::set_empty_fixup_type ( Empty_fixup_type  fixup_type)
inline

set repair method in empty cells for all variables

Parameters
fixup_typeCan be Empty_fixup_type::LEAVE_EMPTY, Empty_fixup_type::EXTRAPOLATE

◆ set_empty_fixup_type() [2/2]

template<template< int, Entity_kind, class, class > class Search, template< Entity_kind, class, class, class, template< class, int, class, class > class, class, class > class Intersect, template< int, Entity_kind, class, class, class, class, class, template< class, int, class, class > class, class, class, class=Wonton::DefaultCoordSys > class Interpolate, int D, class SourceMesh_Wrapper , class SourceState_Wrapper , class TargetMesh_Wrapper = SourceMesh_Wrapper, class TargetState_Wrapper = SourceState_Wrapper, template< class, int, class, class > class InterfaceReconstructorType = DummyInterfaceReconstructor, class Matpoly_Splitter = void, class Matpoly_Clipper = void>
void Portage::MMDriver< Search, Intersect, Interpolate, D, SourceMesh_Wrapper, SourceState_Wrapper, TargetMesh_Wrapper, TargetState_Wrapper, InterfaceReconstructorType, Matpoly_Splitter, Matpoly_Clipper >::set_empty_fixup_type ( std::string const &  target_var_name,
Empty_fixup_type  fixup_type 
)
inline

set repair method in empty cells for all variables

Parameters
target_var_nameTarget mesh variable to set fixup option for
fixup_typeCan be Empty_fixup_type::LEAVE_EMPTY, Empty_fixup_type::EXTRAPOLATE

◆ set_limiter() [1/2]

template<template< int, Entity_kind, class, class > class Search, template< Entity_kind, class, class, class, template< class, int, class, class > class, class, class > class Intersect, template< int, Entity_kind, class, class, class, class, class, template< class, int, class, class > class, class, class, class=Wonton::DefaultCoordSys > class Interpolate, int D, class SourceMesh_Wrapper , class SourceState_Wrapper , class TargetMesh_Wrapper = SourceMesh_Wrapper, class TargetState_Wrapper = SourceState_Wrapper, template< class, int, class, class > class InterfaceReconstructorType = DummyInterfaceReconstructor, class Matpoly_Splitter = void, class Matpoly_Clipper = void>
void Portage::MMDriver< Search, Intersect, Interpolate, D, SourceMesh_Wrapper, SourceState_Wrapper, TargetMesh_Wrapper, TargetState_Wrapper, InterfaceReconstructorType, Matpoly_Splitter, Matpoly_Clipper >::set_limiter ( Limiter_type  limiter)
inline

set limiter for all variables

Parameters
limiterLimiter to use for second order reconstruction (NOLIMITER or BARTH_JESPERSEN)

◆ set_limiter() [2/2]

template<template< int, Entity_kind, class, class > class Search, template< Entity_kind, class, class, class, template< class, int, class, class > class, class, class > class Intersect, template< int, Entity_kind, class, class, class, class, class, template< class, int, class, class > class, class, class, class=Wonton::DefaultCoordSys > class Interpolate, int D, class SourceMesh_Wrapper , class SourceState_Wrapper , class TargetMesh_Wrapper = SourceMesh_Wrapper, class TargetState_Wrapper = SourceState_Wrapper, template< class, int, class, class > class InterfaceReconstructorType = DummyInterfaceReconstructor, class Matpoly_Splitter = void, class Matpoly_Clipper = void>
void Portage::MMDriver< Search, Intersect, Interpolate, D, SourceMesh_Wrapper, SourceState_Wrapper, TargetMesh_Wrapper, TargetState_Wrapper, InterfaceReconstructorType, Matpoly_Splitter, Matpoly_Clipper >::set_limiter ( std::string const &  source_var_name,
Limiter_type  limiter 
)
inline

set limiter for a variable

Parameters
target_var_nameSource mesh variable whose gradient is to be limited
limiterLimiter to use for second order reconstruction (NOLIMITER or BARTH_JESPERSEN)

◆ set_max_fixup_iter()

template<template< int, Entity_kind, class, class > class Search, template< Entity_kind, class, class, class, template< class, int, class, class > class, class, class > class Intersect, template< int, Entity_kind, class, class, class, class, class, template< class, int, class, class > class, class, class, class=Wonton::DefaultCoordSys > class Interpolate, int D, class SourceMesh_Wrapper , class SourceState_Wrapper , class TargetMesh_Wrapper = SourceMesh_Wrapper, class TargetState_Wrapper = SourceState_Wrapper, template< class, int, class, class > class InterfaceReconstructorType = DummyInterfaceReconstructor, class Matpoly_Splitter = void, class Matpoly_Clipper = void>
void Portage::MMDriver< Search, Intersect, Interpolate, D, SourceMesh_Wrapper, SourceState_Wrapper, TargetMesh_Wrapper, TargetState_Wrapper, InterfaceReconstructorType, Matpoly_Splitter, Matpoly_Clipper >::set_max_fixup_iter ( int  maxiter)
inline

◆ set_num_tols() [1/2]

template<template< int, Entity_kind, class, class > class Search, template< Entity_kind, class, class, class, template< class, int, class, class > class, class, class > class Intersect, template< int, Entity_kind, class, class, class, class, class, template< class, int, class, class > class, class, class, class=Wonton::DefaultCoordSys > class Interpolate, int D, class SourceMesh_Wrapper , class SourceState_Wrapper , class TargetMesh_Wrapper = SourceMesh_Wrapper, class TargetState_Wrapper = SourceState_Wrapper, template< class, int, class, class > class InterfaceReconstructorType = DummyInterfaceReconstructor, class Matpoly_Splitter = void, class Matpoly_Clipper = void>
void Portage::MMDriver< Search, Intersect, Interpolate, D, SourceMesh_Wrapper, SourceState_Wrapper, TargetMesh_Wrapper, TargetState_Wrapper, InterfaceReconstructorType, Matpoly_Splitter, Matpoly_Clipper >::set_num_tols ( const double  min_absolute_distance,
const double  min_absolute_volume 
)
inline

Set core numerical tolerances.

◆ set_num_tols() [2/2]

template<template< int, Entity_kind, class, class > class Search, template< Entity_kind, class, class, class, template< class, int, class, class > class, class, class > class Intersect, template< int, Entity_kind, class, class, class, class, class, template< class, int, class, class > class, class, class, class=Wonton::DefaultCoordSys > class Interpolate, int D, class SourceMesh_Wrapper , class SourceState_Wrapper , class TargetMesh_Wrapper = SourceMesh_Wrapper, class TargetState_Wrapper = SourceState_Wrapper, template< class, int, class, class > class InterfaceReconstructorType = DummyInterfaceReconstructor, class Matpoly_Splitter = void, class Matpoly_Clipper = void>
void Portage::MMDriver< Search, Intersect, Interpolate, D, SourceMesh_Wrapper, SourceState_Wrapper, TargetMesh_Wrapper, TargetState_Wrapper, InterfaceReconstructorType, Matpoly_Splitter, Matpoly_Clipper >::set_num_tols ( const NumericTolerances_t num_tols)
inline

Set all numerical tolerances.

◆ set_partial_fixup_type() [1/2]

template<template< int, Entity_kind, class, class > class Search, template< Entity_kind, class, class, class, template< class, int, class, class > class, class, class > class Intersect, template< int, Entity_kind, class, class, class, class, class, template< class, int, class, class > class, class, class, class=Wonton::DefaultCoordSys > class Interpolate, int D, class SourceMesh_Wrapper , class SourceState_Wrapper , class TargetMesh_Wrapper = SourceMesh_Wrapper, class TargetState_Wrapper = SourceState_Wrapper, template< class, int, class, class > class InterfaceReconstructorType = DummyInterfaceReconstructor, class Matpoly_Splitter = void, class Matpoly_Clipper = void>
void Portage::MMDriver< Search, Intersect, Interpolate, D, SourceMesh_Wrapper, SourceState_Wrapper, TargetMesh_Wrapper, TargetState_Wrapper, InterfaceReconstructorType, Matpoly_Splitter, Matpoly_Clipper >::set_partial_fixup_type ( Partial_fixup_type  fixup_type)
inline

set repair method in partially filled cells for all variables

Parameters
fixup_typeCan be Partial_fixup_type::CONSTANT, Partial_fixup_type::LOCALLY_CONSERVATIVE, Partial_fixup_type::SHIFTED_CONSERVATIVE

◆ set_partial_fixup_type() [2/2]

template<template< int, Entity_kind, class, class > class Search, template< Entity_kind, class, class, class, template< class, int, class, class > class, class, class > class Intersect, template< int, Entity_kind, class, class, class, class, class, template< class, int, class, class > class, class, class, class=Wonton::DefaultCoordSys > class Interpolate, int D, class SourceMesh_Wrapper , class SourceState_Wrapper , class TargetMesh_Wrapper = SourceMesh_Wrapper, class TargetState_Wrapper = SourceState_Wrapper, template< class, int, class, class > class InterfaceReconstructorType = DummyInterfaceReconstructor, class Matpoly_Splitter = void, class Matpoly_Clipper = void>
void Portage::MMDriver< Search, Intersect, Interpolate, D, SourceMesh_Wrapper, SourceState_Wrapper, TargetMesh_Wrapper, TargetState_Wrapper, InterfaceReconstructorType, Matpoly_Splitter, Matpoly_Clipper >::set_partial_fixup_type ( std::string const &  target_var_name,
Partial_fixup_type  fixup_type 
)
inline

set repair method in partially filled cells for all variables

Parameters
target_var_nameTarget mesh variable to set fixup option for
fixup_typeCan be Partial_fixup_type::CONSTANT, Partial_fixup_type::LOCALLY_CONSERVATIVE, Partial_fixup_type::SHIFTED_CONSERVATIVE

◆ set_remap_var_bounds()

template<template< int, Entity_kind, class, class > class Search, template< Entity_kind, class, class, class, template< class, int, class, class > class, class, class > class Intersect, template< int, Entity_kind, class, class, class, class, class, template< class, int, class, class > class, class, class, class=Wonton::DefaultCoordSys > class Interpolate, int D, class SourceMesh_Wrapper , class SourceState_Wrapper , class TargetMesh_Wrapper = SourceMesh_Wrapper, class TargetState_Wrapper = SourceState_Wrapper, template< class, int, class, class > class InterfaceReconstructorType = DummyInterfaceReconstructor, class Matpoly_Splitter = void, class Matpoly_Clipper = void>
template<typename T >
void Portage::MMDriver< Search, Intersect, Interpolate, D, SourceMesh_Wrapper, SourceState_Wrapper, TargetMesh_Wrapper, TargetState_Wrapper, InterfaceReconstructorType, Matpoly_Splitter, Matpoly_Clipper >::set_remap_var_bounds ( std::string  target_var_name,
lower_bound,
upper_bound 
)
inline

set the bounds of variable to be remapped on target

Parameters
target_var_nameName of variable in target mesh to limit

◆ set_remap_var_names() [1/2]

template<template< int, Entity_kind, class, class > class Search, template< Entity_kind, class, class, class, template< class, int, class, class > class, class, class > class Intersect, template< int, Entity_kind, class, class, class, class, class, template< class, int, class, class > class, class, class, class=Wonton::DefaultCoordSys > class Interpolate, int D, class SourceMesh_Wrapper , class SourceState_Wrapper , class TargetMesh_Wrapper = SourceMesh_Wrapper, class TargetState_Wrapper = SourceState_Wrapper, template< class, int, class, class > class InterfaceReconstructorType = DummyInterfaceReconstructor, class Matpoly_Splitter = void, class Matpoly_Clipper = void>
void Portage::MMDriver< Search, Intersect, Interpolate, D, SourceMesh_Wrapper, SourceState_Wrapper, TargetMesh_Wrapper, TargetState_Wrapper, InterfaceReconstructorType, Matpoly_Splitter, Matpoly_Clipper >::set_remap_var_names ( std::vector< std::string > const &  remap_var_names)
inline

Specify the names of the variables to be interpolated.

Parameters
[in]remap_var_namesA list of variable names of the variables to interpolate from the source mesh to the target mesh. This variable must exist in both meshes' state manager

◆ set_remap_var_names() [2/2]

template<template< int, Entity_kind, class, class > class Search, template< Entity_kind, class, class, class, template< class, int, class, class > class, class, class > class Intersect, template< int, Entity_kind, class, class, class, class, class, template< class, int, class, class > class, class, class, class=Wonton::DefaultCoordSys > class Interpolate, int D, class SourceMesh_Wrapper , class SourceState_Wrapper , class TargetMesh_Wrapper = SourceMesh_Wrapper, class TargetState_Wrapper = SourceState_Wrapper, template< class, int, class, class > class InterfaceReconstructorType = DummyInterfaceReconstructor, class Matpoly_Splitter = void, class Matpoly_Clipper = void>
void Portage::MMDriver< Search, Intersect, Interpolate, D, SourceMesh_Wrapper, SourceState_Wrapper, TargetMesh_Wrapper, TargetState_Wrapper, InterfaceReconstructorType, Matpoly_Splitter, Matpoly_Clipper >::set_remap_var_names ( std::vector< std::string > const &  source_remap_var_names,
std::vector< std::string > const &  target_remap_var_names 
)
inline

Specify the names of the variables to be interpolated.

Parameters
[in]source_remap_var_namesA list of the variables names of the variables to interpolate from the source mesh.
[in]target_remap_var_namesA list of the variables names of the variables to interpolate to the target mesh.

◆ source_remap_var_names()

template<template< int, Entity_kind, class, class > class Search, template< Entity_kind, class, class, class, template< class, int, class, class > class, class, class > class Intersect, template< int, Entity_kind, class, class, class, class, class, template< class, int, class, class > class, class, class, class=Wonton::DefaultCoordSys > class Interpolate, int D, class SourceMesh_Wrapper , class SourceState_Wrapper , class TargetMesh_Wrapper = SourceMesh_Wrapper, class TargetState_Wrapper = SourceState_Wrapper, template< class, int, class, class > class InterfaceReconstructorType = DummyInterfaceReconstructor, class Matpoly_Splitter = void, class Matpoly_Clipper = void>
std::vector<std::string> Portage::MMDriver< Search, Intersect, Interpolate, D, SourceMesh_Wrapper, SourceState_Wrapper, TargetMesh_Wrapper, TargetState_Wrapper, InterfaceReconstructorType, Matpoly_Splitter, Matpoly_Clipper >::source_remap_var_names ( ) const
inline

Get the names of the variables to be remapped from the source mesh.

Returns
A vector of variable names to be remapped.

◆ target_remap_var_names()

template<template< int, Entity_kind, class, class > class Search, template< Entity_kind, class, class, class, template< class, int, class, class > class, class, class > class Intersect, template< int, Entity_kind, class, class, class, class, class, template< class, int, class, class > class, class, class, class=Wonton::DefaultCoordSys > class Interpolate, int D, class SourceMesh_Wrapper , class SourceState_Wrapper , class TargetMesh_Wrapper = SourceMesh_Wrapper, class TargetState_Wrapper = SourceState_Wrapper, template< class, int, class, class > class InterfaceReconstructorType = DummyInterfaceReconstructor, class Matpoly_Splitter = void, class Matpoly_Clipper = void>
std::vector<std::string> Portage::MMDriver< Search, Intersect, Interpolate, D, SourceMesh_Wrapper, SourceState_Wrapper, TargetMesh_Wrapper, TargetState_Wrapper, InterfaceReconstructorType, Matpoly_Splitter, Matpoly_Clipper >::target_remap_var_names ( ) const
inline

Get the names of the variables to be remapped to the target mesh.

Returns
A vector of variable names to be remapped.

The documentation for this class was generated from the following file: