MCPcopy Create free account

hub / github.com/Litianyu141/Finite-Volume-Graph-Network / functions

Functions256 in github.com/Litianyu141/Finite-Volume-Graph-Network

Methodload_dict
loads state of model and optimizer :dic: (empty) dictionary to fill with state information :datetime: date and time from run
FVGN-src/main/utils/Logger.py:282
Methodlog_histogram
log index values-histogram couple for specific item to tensorboard :item: string describing item (e.g. "training_loss","test_loss")
FVGN-src/main/utils/Logger.py:107
Methodlog_model_gradients
log index model-gradients-histogram couple for specific item to tensorboard :item: string describing model item (e.g. "encoder","disc
FVGN-src/main/utils/Logger.py:117
Methodloss
L2 loss on position.
MGN-src/main/meshgraphnets/cloth_model.py:75
Functionmain
(argv)
MGN-src/main/run_model.py:301
Functionmain
(unused_argv)
MGN-src/main/meshgraphnets/plot_cloth.py:31
Functionmain
(unused_argv)
MGN-src/main/meshgraphnets/plot_cfd.py:31
Functionmake_data_loader
( data_pool=None, batch_size=None, num_workers=8, prefetch_factor=10, pin_memory=False,
FVGN-src/main/dataset/Load_mesh.py:1139
Functionmake_dim_less
(trajectory, params=None)
FVGN-src/main/Extract_mesh/parse_tfrecord_refactor.py:1097
Functionmake_dim_less
(trajectory,params=None)
MGN-src/main/meshgraphnets/parse_tfrecord_refactor.py:853
Functionmake_ghost_cell
compose ghost cell, but TODO: corner cell can not be duplicated twice with current cell type
FVGN-src/main/Extract_mesh/parse_tfrecord_refactor.py:1981
Functionmask_face_bonudary
( face_types, faces, velocity_on_node, pressure_on_node, is_train=False )
FVGN-src/main/Extract_mesh/parse_tfrecord_refactor.py:1495
Functionmask_face_bonudary
(face_types,faces,velocity_on_node,pressure_on_node,is_train=False)
MGN-src/main/meshgraphnets/parse_tfrecord_refactor.py:1153
Methodmask_features
mask_factor belongs between [0,1]
MGN-src/main/meshgraphnets/parse_tfrecord_refactor.py:188
Functionnode_based_WLSQ
phi_node: (N, k) mesh_pos: (N, 2) edge_index: (2,E) bidirectional
FVGN-src/main/Extract_mesh/parse_tfrecord_refactor.py:347
Functionparams
(load=None,fore_args_parser=None)
FVGN-src/main/utils/get_param.py:16
Functionparse_origin_dataset
(dataset, unorder=False, index_num=0, plot=None, writer=None)
FVGN-src/main/Extract_mesh/parse_tfrecord_refactor.py:2873
Functionparse_reshape
(ds)
FVGN-src/main/Extract_mesh/parse_tfrecord_refactor.py:1304
Functionparse_reshape
(ds)
MGN-src/main/meshgraphnets/parse_tfrecord_refactor.py:1016
Functionplot_MSE
(MSE, RMSE, result_dir)
FVGN-src/main/rollout.py:25
Functionpolygon_area
(coordinates)
FVGN-src/main/utils/write_tec.py:509
Functionprob_return
(p)
FVGN-src/main/utils/noise.py:6
Methodprocess_trajectory
(self, trajectory_data)
FVGN-src/main/dataset/Load_mesh.py:157
Methodprocess_trajectory
(self, trajectory_data)
FVGN-src/main/dataset/Load_mesh.py:240
Functionrandom_samples_no_replacement
(arr, num_samples, num_iterations)
FVGN-src/main/Extract_mesh/parse_comsol.py:335
Methodrandom_time_steps
(self, data_idx)
FVGN-src/main/dataset/Load_mesh.py:458
Methodread_header
(self, input, start, end)
FVGN-src/main/Extract_mesh/parse_comsol.py:143
Functionrearrange_dict
transform dict to list, so pandas dataframe can handle it properly
FVGN-src/main/utils/write_tec.py:395
Functionrenum_data
(dataset,unorder=True,index=0,plot='cell')
MGN-src/main/meshgraphnets/parse_tfrecord_refactor.py:1176
Functionrenumber
(buffer, frame)
MGN-src/main/meshgraphnets/dataset.py:96
Functionreorder_boundaryu_to_front
(dataset, plot=None)
FVGN-src/main/Extract_mesh/parse_tfrecord_refactor.py:1727
Functionreorder_boundaryu_to_front
(dataset,plot=None)
MGN-src/main/meshgraphnets/parse_tfrecord_refactor.py:1338
Methodrequire_one_mesh
( self, start_epoch, rollout_index, is_training=False, dual_edge=False )
FVGN-src/main/dataset/Load_mesh.py:795
Methodreset
(self)
FVGN-src/main/dataset/Load_mesh.py:692
Functionrollout_error
(predicteds, targets)
FVGN-src/main/rollout.py:48
Methodsave_dict
saves dictionary - helpful to save the population state of an evolutionary optimization algorithm :dic: dictionary to store :
FVGN-src/main/utils/Logger.py:217
Methodset_epoch
(self, epoch)
FVGN-src/main/dataset/Load_mesh.py:237
Functionshuffle_np
(array)
FVGN-src/main/utils/utilities.py:75
Functionsplit_and_preprocess
Splits trajectories into frames, and adds training noise.
MGN-src/main/meshgraphnets/dataset.py:73
Functionstastic
(frame)
FVGN-src/main/Extract_mesh/parse_tfrecord_refactor.py:186
Functionstep_fn
(step, prev_pos, cur_pos, trajectory)
MGN-src/main/meshgraphnets/cloth_eval.py:28
Functionstep_fn
(step, velocity, trajectory)
MGN-src/main/meshgraphnets/cfd_eval.py:30
Functionstr2bool
'boolean type variable' for add_argument
FVGN-src/main/rollout.py:625
Functionstr2bool
'boolean type variable' for add_argument
FVGN-src/main/utils/get_param.py:5
Functiont_step
returns delta t from last call of t_step()
FVGN-src/main/utils/Logger.py:363
Functiontransform_2
(mesh_pos, cells, node_type, density, pressure, velocity, index)
FVGN-src/main/Extract_mesh/parse_tfrecord_refactor.py:1292
Functiontransform_2
(mesh_pos,cells,node_type,density,pressure,velocity,index)
MGN-src/main/meshgraphnets/parse_tfrecord_refactor.py:1005
Functiontriangles_to_edges
Computes mesh edges from triangles.
MGN-src/main/meshgraphnets/common.py:34
Functionwrite_dict_info_to_json
(input_dict, output_file)
FVGN-src/main/Extract_mesh/parse_tfrecord_refactor.py:1001
Functionwrite_face_index
(faces, writer)
FVGN-src/main/utils/write_tec.py:174
Functionwrite_tecplot_ascii_cell_centered
( raw_data, saving_path, save_tec=False, )
FVGN-src/main/utils/write_tec.py:449
Functionwrite_tfrecord
(tfrecord_path, records, np_index)
FVGN-src/main/Extract_mesh/parse_tfrecord_refactor.py:298
Functionwrite_tfrecord
(tfrecord_path,records,np_index)
MGN-src/main/meshgraphnets/parse_tfrecord_refactor.py:427
Functionwrite_tfrecord_mp
(tfrecord_path_1, tfrecord_path_2, records)
FVGN-src/main/Extract_mesh/parse_tfrecord_refactor.py:306
Functionwrite_tfrecord_one
(tfrecord_path, records, mode)
FVGN-src/main/Extract_mesh/parse_tfrecord_refactor.py:287
Functionwrite_tfrecord_one
(tfrecord_path,records)
MGN-src/main/run_model.py:102
← previous201–256 of 256, ranked by callers