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.
|
#include <vector>
#include <algorithm>
#include <iostream>
#include "custom_includes/mesh_converter.h"
#include "containers/array_1d.h"
#include "custom_includes/vector3.h"
Classes | |
struct | element |
struct | node |
Functions | |
void | convert (std::vector< element > &elements, std::vector< node > &nodes, std::vector< Kratos::intrusive_ptr< Kratos::Element >> &kratosElements) |
bool | checkContains (element &e, int(&face)[4]) |
void | fixFace (face &face, Kratos::intrusive_ptr< Kratos::Element > kratosElement) |
void | process (std::vector< element > &elements, std::vector< node > &nodes, std::vector< face > &result) |
int | findMaxNode (std::vector< element > &elements) |
void | extractNodes (std::vector< face > &faces, std::vector< int > &nodes, int maxNode) |
int | findNode (int toFind, std::vector< int > &nodes) |
void | translateFaces (std::vector< face > &faces, std::vector< int > &nodes) |
bool checkContains | ( | element & | e, |
int(&) | face[4] | ||
) |
void convert | ( | std::vector< element > & | elements, |
std::vector< node > & | nodes, | ||
std::vector< Kratos::intrusive_ptr< Kratos::Element >> & | kratosElements | ||
) |
void extractNodes | ( | std::vector< face > & | faces, |
std::vector< int > & | nodes, | ||
int | maxNode | ||
) |
int findMaxNode | ( | std::vector< element > & | elements | ) |
int findNode | ( | int | toFind, |
std::vector< int > & | nodes | ||
) |
void fixFace | ( | face & | face, |
Kratos::intrusive_ptr< Kratos::Element > | kratosElement | ||
) |
void process | ( | std::vector< element > & | elements, |
std::vector< node > & | nodes, | ||
std::vector< face > & | result | ||
) |
void translateFaces | ( | std::vector< face > & | faces, |
std::vector< int > & | nodes | ||
) |