Go to the source code of this file.
◆ get_communicator()
MPI_Comm get_communicator |
( |
| ) |
|
Definition at line 43 of file AbaqusUtils.C.
static const libMesh::Parallel::Communicator * getCommunicator()
DIE A HORRIBLE DEATH HERE typedef MPI_Comm communicator
◆ get_thread_id_()
◆ getjobname_()
void getjobname_ |
( |
char * |
dir, |
|
|
int * |
len |
|
) |
| |
Definition at line 104 of file AbaqusUtils.C.
107 *len = job_name.length();
108 for (
int i = 0; i < 256; ++i)
109 dir[i] = i < *len ? job_name[i] :
' ';
static std::string getJobName()
◆ getnumcpus_()
Definition at line 29 of file AbaqusUtils.C.
static const libMesh::Parallel::Communicator * getCommunicator()
DIE A HORRIBLE DEATH HERE typedef MPI_Comm communicator
◆ getnumthreads_()
◆ getoutdir_()
void getoutdir_ |
( |
char * |
dir, |
|
|
int * |
len |
|
) |
| |
Definition at line 95 of file AbaqusUtils.C.
98 *len = output_dir.length();
99 for (
int i = 0; i < 256; ++i)
100 dir[i] = i < *len ? output_dir[i] :
' ';
static std::string getOutputDir()
◆ getrank_()
Definition at line 36 of file AbaqusUtils.C.
static const libMesh::Parallel::Communicator * getCommunicator()
DIE A HORRIBLE DEATH HERE typedef MPI_Comm communicator
◆ stdb_abqerr_()
void stdb_abqerr_ |
( |
int * |
lop, |
|
|
char * |
format, |
|
|
int * |
intv, |
|
|
double * |
realv, |
|
|
char * |
charv, |
|
|
int |
format_len |
|
) |
| |
Definition at line 115 of file AbaqusUtils.C.
118 unsigned int int_index = 0;
119 unsigned int real_index = 0;
120 unsigned int char_index = 0;
122 for (
int i = 0; i < format_len; ++i)
125 if (format[i] ==
'%' && i < format_len - 1)
127 auto next = format[i + 1];
130 if (next ==
'I' || next ==
'i')
132 message += std::to_string(intv[int_index++]);
138 if (next ==
'R' || next ==
'r')
140 message += std::to_string(realv[real_index++]);
146 if (next ==
'S' || next ==
's')
148 for (
unsigned int j = 0;
j < 8; ++
j)
149 message += charv[char_index++];
182 mooseError(
"Invalid LOP code passed to STDB_ABQERR: ", *lop);
void mooseError(Args &&... args)
static const std::string message
static const std::complex< double > j(0, 1)
Complex number "j" (also known as "i")
std::string mooseMsgFmt(const std::string &msg, const std::string &title, const std::string &color)