#include "cs_defs.h"
#include "cs_base.h"
#include "cs_log.h"
Go to the source code of this file.
◆ CS_NUMBERING_SIMD_SIZE
#define CS_NUMBERING_SIMD_SIZE 4 /* Most current platforms */ |
◆ cs_numbering_type_t
Enumerator |
---|
CS_NUMBERING_DEFAULT | |
CS_NUMBERING_VECTORIZE | |
CS_NUMBERING_THREADS | |
◆ cs_numbering_create_default()
Create a default numbering information structure.
- Parameters
-
[in] | n_elts | number of associated elements |
- Returns
- pointer to created cs_numbering_t structure
◆ cs_numbering_create_threaded()
Create a default numbering information structure in case of threading.
- Parameters
-
[in] | n_groups | number of groups |
[in] | group_index | group_index[thread_id*group_id*2 + group_id*2] and group_index[thread_id*group_id*2 + group_id*2 +1] define the start and end ids for entities in a given group and thread; (size: n_groups *2 * n_threads) |
- Returns
- pointer to created cs_numbering_t structure
◆ cs_numbering_create_vectorized()
Create a default numbering information structure in case of vectorization.
- Parameters
-
[in] | n_elts | number of associated elements |
[in] | vector_size | vector size used for this vectorization |
- Returns
- pointer to created cs_numbering_t structure
◆ cs_numbering_destroy()
Destroy a numbering information structure.
- Parameters
-
[in,out] | numbering | pointer to cs_numbering_t structure pointer (or NULL) |
◆ cs_numbering_dump()
◆ cs_numbering_log_info()
Log information relative to a cs_numbering_t structure.
- Parameters
-
[in] | log | log type |
[in] | description | description of numbering type |
[in] | numbering | pointer to cs_numbering_t structure (or NULL) |
◆ cs_numbering_type_name
const char* cs_numbering_type_name[] |