関数check_irregular3Dnodes マニュアル

(The documentation of function check_irregular3Dnodes)

Last Update: 2025/11/28


◆機能・用途(Purpose)

struct irregular3Dnodes型構造体をチェックする。
Check a struct irregular3Dnodes-type structure.


◆形式(Format)

#include <3d_data_uneven/check.h>
inline void check_irregular3Dnodes(const struct irregular3Dnodes nodes)


◆引数(Arguments)

nodes チェックしたい構造体。
A structure to check.


◆動作(Behaviour)

引数nodesで与えた構造体のメンバL, M, Nが正であること、 メンバx, y, zの配列要素が昇順に並んでいることをチェックする。 これらの上限が満たされない場合はエラーメッセージを出力してプログラムを終了する。
Check that the values of members L, M, and N of the structure given by argument nodes are positive, and the values of array components of members x, y, and z are given in an ascending order. If these requirements are not satisfied, finish the program as an error.


◆使用例(Example)

struct irregular3Dnodes nodes;
check_irregular3Dnodes(nodes);