Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(0)  |  Derive(0)  |  Import(4)

        def available(test):
    def decorator(func):
        func.available = bool(test)
        timestep_methods[get_title(func)] = func
        return func
    
    return decorator
        


src/c/l/Clyther-0.4-beta/doc/perfpy/laplace.py   Clyther(Download)
from argparse import ArgumentParser, FileType
 
from core import TimeSteper, available, timestep_methods
 
import opencl_methods

src/c/l/Clyther-HEAD/doc/perfpy/laplace.py   Clyther(Download)
from argparse import ArgumentParser, FileType
 
from core import TimeSteper, available, timestep_methods
 
import opencl_methods

src/c/l/Clyther-0.4-beta/doc/perfpy/opencl_methods.py   Clyther(Download)
import clyther as cly
import clyther.runtime as clrt
from core import Grid, available 
import numpy
 

src/c/l/Clyther-HEAD/doc/perfpy/opencl_methods.py   Clyther(Download)
import clyther as cly
import clyther.runtime as clrt
from core import Grid, available 
import numpy