# Diff of /trunk/finley/src/ElementFile_createColoring.c

revision 1315 by ksteube, Tue Sep 25 02:41:13 2007 UTC revision 1326 by ksteube, Mon Oct 1 08:10:41 2007 UTC
# Line 53  void Finley_ElementFile_createColoring(F Line 53  void Finley_ElementFile_createColoring(F
53                    if (in->Color[e]<0) {                    if (in->Color[e]<0) {
54                       /* find out if element e is independend from the elements already colored: */                       /* find out if element e is independend from the elements already colored: */
55                       independent=TRUE;                       independent=TRUE;
56                       for (i=0;i<NN;i++) if (maskDOF[degreeOfFreedom[in->Nodes[INDEX2(i,e,NN)]]-min_id]>0) independent=FALSE;                       for (i=0;i<NN;i++) {
57    #ifdef BOUNDS_CHECK
58    if ((degreeOfFreedom[in->Nodes[INDEX2(i,e,NN)]]-min_id) >= len || (degreeOfFreedom[in->Nodes[INDEX2(i,e,NN)]]-min_id) < 0) { printf("BOUNDS_CHECK %s %d i=%d e=%d NN=%d min_id=%d dof=%d\n", __FILE__, __LINE__, i, e, NN, min_id, degreeOfFreedom[in->Nodes[INDEX2(i,e,NN)]]-min_id); exit(1); }
59    #endif
60                    if (maskDOF[degreeOfFreedom[in->Nodes[INDEX2(i,e,NN)]]-min_id]>0) independent=FALSE;
61                 }
62                       /* if e is independend a new color is assigned and the nodes are marked as being used */                       /* if e is independend a new color is assigned and the nodes are marked as being used */
63                       if (independent) {                       if (independent) {
64                           for (i=0;i<NN;i++) maskDOF[degreeOfFreedom[in->Nodes[INDEX2(i,e,NN)]]-min_id]=1;                           for (i=0;i<NN;i++) maskDOF[degreeOfFreedom[in->Nodes[INDEX2(i,e,NN)]]-min_id]=1;

Legend:
 Removed from v.1315 changed lines Added in v.1326
{"ft_lang_label":"__label__en","ft_lang_prob":0.5847525,"math_prob":0.9286661,"size":1385,"snap":"2019-35-2019-39","text_gpt3_token_len":488,"char_repetition_ratio":0.14771904,"word_repetition_ratio":0.30487806,"special_character_ratio":0.3696751,"punctuation_ratio":0.15523465,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9627209,"pos_list":[0,1,2],"im_url_duplicate_count":[null,null,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2019-09-20T10:22:18Z\",\"WARC-Record-ID\":\"<urn:uuid:467ba066-532c-4508-a90a-0a0234ca3790>\",\"Content-Length\":\"10767\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:f6848cc8-7239-4edd-9bc5-213e116deda3>\",\"WARC-Concurrent-To\":\"<urn:uuid:c7e4650d-2bbf-40cd-9be7-0182697e696d>\",\"WARC-IP-Address\":\"130.102.167.21\",\"WARC-Target-URI\":\"https://svn.geocomp.uq.edu.au/escript/trunk/finley/src/ElementFile_createColoring.c?sortby=author&r1=1315&r2=1326&pathrev=1340\",\"WARC-Payload-Digest\":\"sha1:2IJMP2T5RH5GXDRMUKU7AOEMPTOXPR2D\",\"WARC-Block-Digest\":\"sha1:GXHXHPKRXKDPODYC5HKABQEAISKAZOZP\",\"WARC-Identified-Payload-Type\":\"application/xhtml+xml\",\"warc_filename\":\"/cc_download/warc_2019/CC-MAIN-2019-39/CC-MAIN-2019-39_segments_1568514573988.33_warc_CC-MAIN-20190920092800-20190920114800-00244.warc.gz\"}"}