slaybaughlab / bart-lite Goto Github PK
View Code? Open in Web Editor NEWCode Unmaintained. Maintained version at https://github.com/mzweig/gallo.
Code Unmaintained. Maintained version at https://github.com/mzweig/gallo.
When retrieving material ID for a cell, it shows the error in the title. Here's how it was used:
class SAAF(object):
def __init__(self, mat_cls, mesh_cls, prob_dict):
self._mesh=mesh_cls
When using asking for ID in a cell:
def some_func(self):
for cell in self._mesh.cells():
global_idx,mid = cell.global_idx(),cell.get('id')
The calculation of ksi_ua needs to be fixed as it is being calculated incorrectly.
get_per_str tries to divide a dictionary by a float using np.divide
and returns an error when no mat_id
is supplied. Requires hotfix.
For the mat_map
class, specifying an n
that is not large enough to ensure every cell has only one material does not throw an error, only returns an empty mat_lib.array
For example, n=2
with the layout 1 1 1 1 1 2 2 1 1 2 2 1 1 1 1 1
would define four squares with two different materials.
Per Weixiong's instructions.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.