Fix common typo: unkown -> unknown

This commit is contained in:
Holger Vogt 2024-07-09 14:44:56 +02:00
parent f59a68321d
commit 1fef3835c9
6 changed files with 14 additions and 14 deletions

View File

@ -27,7 +27,7 @@ void osdi_log(void *handle_, char *msg, uint32_t lvl) {
dst = stderr;
break;
default:
fprintf(stderr, "OSDI(unkown) %s", handle->name);
fprintf(stderr, "OSDI(unknown) %s", handle->name);
break;
}

View File

@ -411,7 +411,7 @@ extern OsdiObjectFile load_object_file(const char *input) {
IS_LIM_FUN("fetlim", 1, osdi_fetlim)
IS_LIM_FUN("limitlog", 1, osdi_limitlog)
if (expected_args == -1) {
printf("warning(osdi): unkown $limit function \"%s\"", lim_table[i].name);
printf("warning(osdi): unknown $limit function \"%s\"", lim_table[i].name);
} else {
printf("warning(osdi): unexpected number of arguments %i (expected %i) "
"for \"%s\", ignoring...",

View File

@ -162,10 +162,10 @@ static int init_matrix(SMPmatrix *matrix, const OsdiDescriptor *descr,
for (uint32_t i = 0; i < descr->num_jacobian_entries; i++) {
uint32_t equation = descr->jacobian_entries[i].nodes.node_1;
uint32_t unkown = descr->jacobian_entries[i].nodes.node_2;
uint32_t unknown = descr->jacobian_entries[i].nodes.node_2;
equation = node_mapping[equation];
unkown = node_mapping[unkown];
double *ptr = SMPmakeElt(matrix, (int)equation, (int)unkown);
unknown = node_mapping[unknown];
double *ptr = SMPmakeElt(matrix, (int)equation, (int)unknown);
if (ptr == NULL) {
return (E_NOMEM);
@ -424,10 +424,10 @@ static int init_matrix_klu(SMPmatrix *matrix, const OsdiDescriptor *descr,
for (uint32_t i = 0; i < descr->num_jacobian_entries; i++) {
uint32_t equation = descr->jacobian_entries[i].nodes.node_1;
uint32_t unkown = descr->jacobian_entries[i].nodes.node_2;
uint32_t unknown = descr->jacobian_entries[i].nodes.node_2;
equation = node_mapping[equation];
unkown = node_mapping[unkown];
if (equation != 0 && unkown != 0) {
unknown = node_mapping[unknown];
if (equation != 0 && unknown != 0) {
tmp.COO = jacobian_ptr_resist[i];
tmp.CSC = NULL;
tmp.CSC_Complex = NULL;
@ -461,10 +461,10 @@ static int update_matrix_klu(const OsdiDescriptor *descr, void *inst,
for (uint32_t i = 0; i < descr->num_jacobian_entries; i++) {
uint32_t equation = descr->jacobian_entries[i].nodes.node_1;
uint32_t unkown = descr->jacobian_entries[i].nodes.node_2;
uint32_t unknown = descr->jacobian_entries[i].nodes.node_2;
equation = node_mapping[equation];
unkown = node_mapping[unkown];
if (equation != 0 && unkown != 0) {
unknown = node_mapping[unknown];
if (equation != 0 && unknown != 0) {
jacobian_ptr_resist[i] = inst_matrix_ptrs[2 * i + complex];
}
}

View File

@ -3189,7 +3189,7 @@ while( START_OF_SCE_LOOP ) { /* Begin: 1st SCE LOOP */
* - Psa : Analytical solution of
* Cox( Vgp - Psa ) = cnst0 * Qacc
* where Qacc is the 3-degree series of (fdep)^{1/2}.
* The unkown is transformed to Chi=beta(Ps0-Vbs).
* The unknown is transformed to Chi=beta(Ps0-Vbs).
* - Ps0_min : |Ps0_min| when Vbs=0.
*-----------------*/

View File

@ -2137,7 +2137,7 @@ int HSMHVevaluate
* - Psa : Analytical solution of
* Cox( Vgp - Psa ) = cnst0 * Qacc
* where Qacc is the 3-degree series of (fdep)^{1/2}.
* The unkown is transformed to Chi=beta(Ps0-Vbs).
* The unknown is transformed to Chi=beta(Ps0-Vbs).
* - Ps0_min : |Ps0_min| when Vbs=0.
*-----------------*/
Ps0_min = here->HSMHV_eg - Pb2 ;

View File

@ -2067,7 +2067,7 @@ int HSMHV2evaluate
* - Psa : Analytical solution of
* Cox( Vgp - Psa ) = cnst0 * Qacc
* where Qacc is the 3-degree series of (fdep)^{1/2}.
* The unkown is transformed to Chi=beta(Ps0-Vbs).
* The unknown is transformed to Chi=beta(Ps0-Vbs).
* - Ps0_min : |Ps0_min| when Vbs=0.
*-----------------*/
/* Ps0_min: approx. solution of Poisson equation at Vgs_min */