KratosMultiphysics
KRATOS Multiphysics (Kratos) is a framework for building parallel, multi-disciplinary simulation software, aiming at modularity, extensibility, and high performance. Kratos is written in C++, and counts with an extensive Python interface.
Namespaces | Macros
mapping_application.cpp File Reference
#include "containers/model.h"
#include "mapping_application.h"
#include "mapping_application_variables.h"
#include "mappers/mapper_define.h"
#include "custom_utilities/mapper_backend.h"
#include "geometries/point_3d.h"
#include "geometries/tetrahedra_3d_4.h"
#include "geometries/prism_3d_6.h"
#include "geometries/hexahedra_3d_8.h"
#include "factories/mapper_factory.h"
#include "custom_mappers/nearest_neighbor_mapper.h"
#include "custom_mappers/nearest_element_mapper.h"
#include "custom_mappers/barycentric_mapper.h"
#include "custom_mappers/projection_3D_2D_mapper.h"
#include "custom_mappers/coupling_geometry_mapper.h"
Include dependency graph for mapping_application.cpp:

Namespaces

 Kratos
 REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
 

Macros

#define KRATOS_REGISTER_MAPPER(MapperType, MapperName)
 
#define KRATOS_REGISTER_MAPPER_WITH_BACKEND(MapperType, MapperName)
 

Macro Definition Documentation

◆ KRATOS_REGISTER_MAPPER

#define KRATOS_REGISTER_MAPPER (   MapperType,
  MapperName 
)
Value:
{ \
Model current_model; \
ModelPart& dummy_model_part = current_model.CreateModelPart("dummy"); \
MapperFactory<MapperDefinitions::SparseSpaceType, MapperDefinitions::DenseSpaceType>::Register \
(MapperName, Kratos::make_shared<MapperType< \
(dummy_model_part, dummy_model_part)); \
}
MapperDefinitions::DenseSpaceType DenseSpaceType
Definition: mapper_factory.cpp:28
TUblasSparseSpace< double > SparseSpaceType
Definition: linear_solver_factory.h:154
shared_ptr< C > make_shared(Args &&...args)
Definition: smart_pointers.h:40

◆ KRATOS_REGISTER_MAPPER_WITH_BACKEND

#define KRATOS_REGISTER_MAPPER_WITH_BACKEND (   MapperType,
  MapperName 
)
Value:
{ \
Model current_model; \
ModelPart& dummy_model_part = current_model.CreateModelPart("dummy"); \
MapperFactory<MapperDefinitions::SparseSpaceType, MapperDefinitions::DenseSpaceType>::Register \
(MapperName, Kratos::make_shared<MapperType< \
(dummy_model_part, dummy_model_part)); \
}