12#ifndef BELFEM_CL_FEM_KERNELPARAMETERS_HPP
13#define BELFEM_CL_FEM_KERNELPARAMETERS_HPP
50 const uint mZero = 0 ;
59 bool mAutoPartition = true ;
215 return mMesh->master();
223 return mBlockIndices ;
237 return mSidesetIndices ;
253 return mIntegrationScheme ;
261 return mAutoPartition ;
269 return mReorderingMethod ;
Top-level container for all mesh entities.
Definition cl_Mesh.hpp:60
Top-level orchestrator; owns the mesh, materials, boundary conditions and DOF managers.
Definition cl_FEM_Kernel.hpp:50
const Vector< index_t > & block_indices() const
return the indices of the selected blocks
Definition cl_FEM_KernelParameters.hpp:221
Kernel * kernel()
Definition cl_FEM_KernelParameters.cpp:200
const Vector< id_t > & selected_blocks() const
return the ids of the selected blocks
Definition cl_FEM_KernelParameters.hpp:229
void select_blocks(const Vector< id_t > &aBlockIDs)
Select the IDs of the blocks that are to be used.
Definition cl_FEM_KernelParameters.cpp:77
KernelParameters(Mesh &aMesh)
Definition cl_FEM_KernelParameters.cpp:24
bool auto_partition() const
Definition cl_FEM_KernelParameters.hpp:259
ReorderingMethod reordering_method() const
Definition cl_FEM_KernelParameters.hpp:267
proc_t number_of_procs() const
return the number of procs that contribute to this kernel
Definition cl_FEM_KernelParameters.hpp:205
void set_reordering_method(const ReorderingMethod aMethod)
Definition cl_FEM_KernelParameters.cpp:184
const proc_t & master()
return the id of the master proc
Definition cl_FEM_KernelParameters.hpp:213
const IntegrationScheme & integration_scheme() const
Definition cl_FEM_KernelParameters.hpp:251
void set_auto_partition(const bool aFlag)
Definition cl_FEM_KernelParameters.cpp:192
~KernelParameters()=default
void set_integration_scheme(const IntegrationScheme &aIntegrationScheme)
Definition cl_FEM_KernelParameters.cpp:176
const Vector< id_t > & selected_sidesets() const
return the ids of the selected sidesets
Definition cl_FEM_KernelParameters.hpp:243
void select_sidesets(const Vector< id_t > &aSidesetIDs)
Definition cl_FEM_KernelParameters.cpp:126
const Vector< index_t > & sideset_indices() const
return the indices of the selected sidesets
Definition cl_FEM_KernelParameters.hpp:235
Definition cl_IFB_LINE3.hpp:21
USER GUIDES:
Definition cl_Capacitor.cpp:16
IntegrationScheme
Definition en_IntegrationScheme.hpp:22
@ GAUSS
Definition en_IntegrationScheme.hpp:23
unsigned int uint
Definition typedefs.hpp:30
int proc_t
Definition commtypes.hpp:29
ReorderingMethod
Definition en_SolverEnums.hpp:116
@ METIS
Definition en_SolverEnums.hpp:118