1 // 2 // character_table.h 3 // libmsym 4 // 5 // Created by Marcus Johansson on 28/11/14. 6 // Copyright (c) 2014 Marcus Johansson. 7 // 8 // Distributed under the MIT License ( See LICENSE file or copy at http://opensource.org/licenses/MIT ) 9 // 10 11 #ifndef __MSYM__CHARACTER_TABLE_h 12 #define __MSYM__CHARACTER_TABLE_h 13 14 #include "msym.h" 15 #include "symop.h" 16 17 void decomposeRepresentation(msym_character_table_t *ct, double rspan[ct->d], double dspan[ct->d]); 18 19 void directProduct(int l, double irrep1[l], double irrep2[l], double pspan[l]); 20 21 msym_error_t generateCharacterTable(msym_point_group_type_t type, int n, int sopsl, msym_symmetry_operation_t sops[sopsl], msym_character_table_t **ct); 22 23 24 25 #endif /* defined(__MSYM__CHARACTER_TABLE_h) */ 26